Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
PHP is a server-side scripting language designed for web development but also used as a general-purpose programming language.
1
vote
Date format with Salesforce REST API
Here's the "dirty" solution I've implemented : upon receiving the date, I preg replace the pattern /\.[\d]{3}/ (removing the milliseconds) and then I'm good to go to create a date from the format ISO8 …
2
votes
2
answers
15k
views
Date format with Salesforce REST API
Salesforce's documentation states the date format is ISO8601 but when I do the following in PHP :
// The value I retrieve is "2014-11-20T14:23:44.000+0000"
$date = \Datetime::createFromFormat(\Datetime … ::ISO8601, [value]);
PHP throws an error saying it couldn't create a date with this format and this value. …