i need display on screen date values i'm receiving them in format don't know. know format , how convert them?
for example, i'm getting this:
/date(1427982649000-0400)/
in database stored as
2015-04-02 09:50:49.000
i don't know start looking at.
it's unix timestamp in milliseconds, followed timezone (shift in hours differing utc).
so, it's utc -4 hours, 1427982649 seconds after 1st january of 1970.
nice little tool checking unix timestamps : http://www.unixtimestamp.com/index.php (don't forget convert milliseconds seconds before posting them there)
/edit: add additional information - "timezone shift" seems following rfc822 (and/or other rfcs), -0400 can explained syntax "+/-hhmm" specified there, exact means -04 hours, 00 minutes.
Comments
Post a Comment