     
     func generateBoundaryString() -> String {
         return "Boundary-\(NSUUID().UUIDString)"
+    }
+    
+    func ocmDateFormatParser(OCMDateString dateString: String) -> NSDate {
+        //Format date string from OCM to NSDate
+        let dateFormatter = NSDateFormatter()
+        dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss"
+        let cleanedUpdateDate = dateString.stringByReplacingOccurrencesOfString("Z", withString: "")
+        return dateFormatter.dateFromString(cleanedUpdateDate)!
+    }
+    
+    func ocmCommentDateFormatParser(OCMDateString dateString: String) -> NSDate {
+        //Format comment date string from OCM to NSDate
+        let dateFormatter = NSDateFormatter()
+        dateFormatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SS"
+        let cleanedUpdateDate = dateString.stringByReplacingOccurrencesOfString("Z", withString: "")
+        return dateFormatter.dateFromString(cleanedUpdateDate)!
     }
     
     

                                                    
                                                    if let commentUsername = commentElement["UserName"] as? String {
                                                        comment.username = commentUsername
                                                    }
                                                    
                                                    comment.chargerSecondary = chargerDetails

                                    }
                                    
                                    if let chargerDataLastUpdateTime = element["DateLastStatusUpdate"] as? String {
                                        let date = self.ocmDateFormatParser(OCMDateString: chargerDataLastUpdateTime)
                                        chargerPrimary.chargerDataLastUpdate = date.timeIntervalSinceReferenceDate

                                    }
                                    
                                    // Media
