You need to sign in to do that
Don't have an account?
PC Lakshmi 4
api date format issue
Hello Friends
In my API response i am getting String Field Date_modified=08/23/2019
i would grab this field and assigning to Datetime Field called Acct_Modifieddate.
Datetime Acct_Modifieddate =date.parse(Date_modified);
In the log i see Acct_Modifieddate as 2019-08-23 00:00:00.
And finally i would be pushing this field to another Datetime custom field via process builder.
In the Salesforce UI i see this field populated as 8/22/2019 5:00 PM
Please advice whether this problem related to GMT timezone issue or something else.
Thanks
In my API response i am getting String Field Date_modified=08/23/2019
i would grab this field and assigning to Datetime Field called Acct_Modifieddate.
Datetime Acct_Modifieddate =date.parse(Date_modified);
In the log i see Acct_Modifieddate as 2019-08-23 00:00:00.
And finally i would be pushing this field to another Datetime custom field via process builder.
In the Salesforce UI i see this field populated as 8/22/2019 5:00 PM
Please advice whether this problem related to GMT timezone issue or something else.
Thanks
please check the time zone of your org. sync it with the current time zone in which you are recieveing the value