> 12/31/1998 00:00:00 EST + 5184001 seconds = Time Date in UTC

> 01/01/1991 11:01 AM EST = XX/XX/XXXX XX:XX UTC

Doug,

This is difficult (or impossible) to do right; at a minimum you need a table of 
all past, current, and future national timezone definitions, DST rules by 
locale, and leap seconds. Start by defining your problem very explicitly, down 
to each character, digit, integer, and allowable range.

I think there is a timezone mailing list that would better be able to answer 
your question. They may point you to a number of well tested libraries that 
already do this sort of thing.

/tvb

_______________________________________________
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