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 <hol...@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@febo.com
> To unsubscribe, go to
> https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
> and follow the instructions there.
>



-- 

Chris Albertson
Redondo Beach, California
_______________________________________________
time-nuts mailing list -- time-nuts@febo.com
To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts
and follow the instructions there.

Reply via email to