TIP: Click on subject to list as thread! ANSI
echo: perl
to: Johan Billing
from: mark lewis
date: 2005-02-22 18:16:06
subject: Perl::JAM (was: txt2pkt.pl)

JB>>> Sure, it works well enough for messages with a TZUTC kludge.
 JB>>> It is just that it would save the programmer some work if the
 JB>>> timestamp itself was in UTC.

 ml>> hehe, which programmer?? the one doing the message base code
 ml>> or the one doing the reader code? ;)

 JB> Both actually, since modern operating systems use UTC

i guess that depends on the definition of "modern"...

 JB> internally. The program that writes the message to the
 JB> messagebase needs to convert it to localtime and the program
 JB> that displays the message needs to convert it back.  But that
 JB> was of course not the case when the format was designed...

my first question is how does the OS know what to set gmttime to? AFAIK, it
cannot without some other setting like TZ and without being told if the
BIOS clock is running localtime or gmttime...

)\/(ark

* Origin: (1:3634/12)
SEEN-BY: 633/267 270
@PATH: 3634/12 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.