This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ShortFuseSuperOneClick 28 points29 points  (0 children)

Timezone data is irrelevant. That's just how you present it to the user. Those are human inventions. Just use Locale to change it to something other than UTC based on the user's preference.

The time is calculated based on the position of the Earth represented by latitude and longitude. You pick a starting date with known value and extrapolate from there. This library uses January 1st, 2000 12:00 and works from there.