Timeline for Date format with Salesforce REST API
Current License: CC BY-SA 3.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
S Jun 6, 2018 at 10:14 | history | suggested | Pere |
add php flag
|
|
Jun 6, 2018 at 9:49 | review | Suggested edits | |||
S Jun 6, 2018 at 10:14 | |||||
Nov 26, 2014 at 13:01 | vote | accept | Asticode | ||
Nov 24, 2014 at 15:16 | answer | added | Asticode | timeline score: 1 | |
Nov 24, 2014 at 15:12 | answer | added | RichardT | timeline score: 3 | |
Nov 24, 2014 at 15:06 | comment | added | Asticode | Hey Novarg, I think what you've found is the best I can get since there are not a lot of documentation about this strange behavior. At least it confirms that Salesforce actually sends the wrong date format. I'll try to come up with a solution and post it here. Thanks again :) | |
Nov 24, 2014 at 14:41 | comment | added | Novarg | Could this be something you are looking for? search.cpan.org/~carlvince/DateTime-Format-Salesforce-0.01_01/… | |
Nov 24, 2014 at 14:35 | comment | added | Asticode | Hey Novarg, thanks for the answer :) Unfortunately the time is coming directly from Salesforce and that's only once I got it that I'm trying to create a date object with PHP. So even if I change it manually for testing purposes and PHP manages to create a date object, that still doesn't fix my problem since I won't be able to change manually all the date values I receive from Salesforce everytime I ask for a date value with the REST API. Any other idea though ? | |
Nov 24, 2014 at 14:10 | comment | added | Novarg | Docs say The date and time should be provided in ISO 8601 format: YYYY-MM-DDThh:mm:ss+hh:mm. Try changing your time to 2014-11-20T14:23:44.00+00:00 and see if it works | |
Nov 24, 2014 at 13:02 | history | asked | Asticode | CC BY-SA 3.0 |