Do unix timestamps change across timezones? -
as subject asks; unix timestamps change in each timezone?
for example, if sent request email other side of world saying, "send out email when time 1397484936", other server's timestamp 12 hours behind own?
the definition of unix timestamp timezone independent. timestamp number of seconds (or milliseconds) elapsed since absolute point in time, midnight of jan 1 1970 in utc time. (utc greenwich mean time without daylight savings time adjustments.) regardless of timezone, timestamp represents moment same everywhere. of course can convert , forth to local timezone representation (time 1397484936 such-and-such local time in new york, or other local time in djakarta) if want.
the article @ http://en.wikipedia.org/wiki/unix_time pretty impressive if you'd longer read.
Comments
Post a Comment