First of all, I know that it's duplicate, but those questions aren't what I am looking for.
I'm using an API to add participants in an online application. When I post JSON object to endpoint, everything is posted except dates. There's some misunderstanding with date format. If I get existing participants and check the date format that's this:
{
"participant":{
"ID":201954,
// Long Object
"DateOfBirth":"\/Date(857305424000-0500)\/",
}
}
I figured out that first 9 char are UNIX timestamp but rest of them?? not sure. Any idea what is this format?
EDIT Online application is made in .net/asp/c# not sure about them. But I am writing my code in php application which post json object via cURL
EDIT 2 I checked parsing wrong formats and got this error:
The value '0.48631700 1425319593' cannot be parsed as the type 'Int64'.'. Please see InnerException for more details.
Any idea how can I get the format of .net's int64 datetime in php?