Iain Truskett <[EMAIL PROTECTED]> wrote:
Unix epochs are always GMT/UTC based (one of the two).
Perl's gmtime() and localtime() aren't UTC compatible. I'd say they are using TAI time. GMT belongs to the past.
Except you'd be wrong. ;~)
GMT == UTC for all intents and purposes:
http://www.wikipedia.org/wiki/Coordinated_Universal_Time http://www.webreference.com/js/tips/010929.html
Perl is not using TAI, but rather the underlying O/S epoch (which usually means UTC). There is some discussion of using Dan Bernstein's libtai as a basis for time values in Perl6, but I don't think that has been settled yet.
John
-- John Peacock Director of Information Research and Technology Rowman & Littlefield Publishing Group 4501 Forbes Boulevard Suite H Lanham, MD 20706 301-459-3366 x.5010 fax 301-429-5748