DateTime gets converted in Salesforce from Postman

DateTime gets converted in Salesforce from Postman


We need to use Date.valueOfGmt 

Or

JSON.deserialize-

DateTime transDateTime = (DateTime)JSON.deserialize(transDateString, DateTime.class);

This will allow us to parse the date time in GMT without any string manipulation.


Comments