URL-https://assamtmc.piramalswasthya.org/flw-0.0.1/maternalCare/ancVisit/getAll { "data": [ { "id": 9747, "benId": 309811874947, "ancDate": "Jun 25, 2024, 5:30:00 AM", "ancVisit": 1, "isAborted": false, "weightOfPW": 45, "bpSystolic": 100, "bpDiastolic": 70, "hb": 9.4, "urineAlbuminPresent": false, "bloodSugarTestDone": true, "folicAcidTabs": 30, "ifaTabs": 0, "isHighRisk": false, "highRiskCondition": "NONE", "referralFacility": "Primary Health Centre", "isHrpConfirmed": false, "isMaternalDeath": false, "isActive": true, "createdDate": "Dec 19, 2024, 5:30:00 AM", "createdBy": "9706429626", "updatedDate": "Dec 19, 2024, 5:30:00 AM", "updatedBy": "9706429626" }, { "id": 9748, "benId": 309811874947, "ancDate": "Sep 10, 2024, 5:30:00 AM", "ancVisit": 2, "isAborted": false, "weightOfPW": 50, "bpSystolic": 110, "bpDiastolic": 70, "hb": 9.8, "fundalHeight": 38, "urineAlbuminPresent": false, "bloodSugarTestDone": true, "folicAcidTabs": 0, "ifaTabs": 30, "isHighRisk": false, "highRiskCondition": "NONE", "referralFacility": "Primary Health Centre", "isHrpConfirmed": false, "isMaternalDeath": false, "isActive": true, "createdDate": "Dec 19, 2024, 5:30:00 AM", "createdBy": "9706429626", "updatedDate": "Dec 19, 2024, 5:30:00 AM", "updatedBy": "9706429626" } ], "statusCode": 200, "errorMessage": "Success", "status": "Success" } ANC visit entries not synced java.text.ParseException: Unparseable date: "Jun 25, 2024, 5:30:00 AM" ========================================================================== https://assamtmc.piramalswasthya.org/flw-0.0.1/maternalCare/pregnantWoman/getAll {"ashaId":1513,"pageNo":0,"fromDate":"2020-01-01T00:00:01.000Z","toDate":"2025-04-23T10:32:25.000Z"} registrationDate Response - { "data": [ { "id": 8646, "benId": 244100390116, "registrationDate": "Dec 19, 2024, 5:30:00 AM", "rchId": 0, "mcpCardId": 0, "lmpDate": "Apr 20, 2024, 5:30:00 AM", "bloodGroup": "A +Ve", "weight": 45, "height": 140, "pastIllness": "None", "isFirstPregnancyTest": true, "isActive": true, "isRegistered": true, "rhNegative": "No", "homeDelivery": "No", "badObstetric": "No", "isHrpCase": false, "createdDate": "Dec 19, 2024, 5:30:00 AM", "createdBy": "9706429626", "updatedDate": "Dec 19, 2024, 4:41:57 PM", "updatedBy": "9706429626" }, { "id": 8650, "benId": 309811874947, "registrationDate": "Dec 19, 2024, 5:30:00 AM", "rchId": 0, "mcpCardId": 0, "lmpDate": "May 20, 2024, 5:30:00 AM", "bloodGroup": "A +Ve", "weight": 40, "height": 150, "pastIllness": "None", "isFirstPregnancyTest": true, "pregComplication": "None", "isActive": true, "isRegistered": true, "rhNegative": "No", "homeDelivery": "No", "badObstetric": "No", "isHrpCase": false, "createdDate": "Dec 19, 2024, 5:30:00 AM", "createdBy": "9706429626", "updatedDate": "Dec 19, 2024, 4:54:03 PM", "updatedBy": "9706429626" } ], "statusCode": 200, "errorMessage": "Success", "status": "Success" } Solutions: Required Pattern :"MMM d, yyyy h:mm:ss a" Getting Pattern : "MMM d, yyyy, h:mm:ss a"