Set the TZ environment variable to EDT in the script you use to execute the
mud, or within the mud code itself.  You'll have to change this to EST when
we go off daylight savings time, or figure out some way to do that
automatically.

[EMAIL PROTECTED] red]$ ./timetest
Thu Aug  1 23:21:02 2002
[EMAIL PROTECTED] red]$ TZ=EDT ./timetest
Fri Aug  2 04:21:07 2002

timetest was a program that just prints the output of ctime.

--Palrich.

----- Original Message -----
From: "Vertigo" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, August 01, 2002 5:40 PM
Subject: Mud Time/ctime...


> I never really noticed before last night but the time on my mud reflects
> the time of the server (obviously since it's ON the sever).  The server,
> however, is in Central Standard Time and not Eastern.  I'd prefer, for
> clarity and the fact the most of my players are on EST, to have the time
> reflect the EST time.  Is there a way to make ctime() take time zones
> into consideration or has someone written a conversion routine for it?



Reply via email to