[time-nuts] The Problem with Time & Timezones - Computerphile
albertson.chris at gmail.com
Fri May 9 01:20:36 UTC 2014
That is the problem. Even if someone gives you this code free and it
works, then some years from now some country will change the date when they
switch over to daylight savings or they even change a time zone offset.
Who knows what could happen in the future? And now you have a job for life
responding to changes.
The solution is to call functions in the OS that OTHER people maintain and
then your software will work long after you are gone.
On Thu, May 8, 2014 at 4:48 PM, Mark Sims <holrum at hotmail.com> wrote:
> There is code in Lady Heather that does all this (independent of operating
> system settings). Plus code for calculating and displaying dates in
> numerous calendars. Also calculating various holidays, sun and moon
> position/phases, . etc.
> Hint if you want to write calendarish code... it helps to have good
> Julian and Gregorian date/time conversion routines handy...
> time-nuts mailing list -- time-nuts at febo.com
> To unsubscribe, go to
> and follow the instructions there.
Redondo Beach, California
More information about the Time-nuts_lists.febo.com