info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: $DateLocal$


From: Larry Jones
Subject: Re: $DateLocal$
Date: Fri, 15 Jun 2001 11:37:51 -0400 (EDT)

KOIE Hidetaka writes:
> 
> I implement $DateLocal$ keyword expansion using strftime().
> Is this a bad idea?

Probably:

1) The "local" time you're using is the local time of the server, not
the local time of the client.

2) Your code assumes that the differential between local time and UTC is
always the same as it is currently, which isn't true for all of us that
have "daylight saving" or "summer" time.

-Larry Jones

You don't get to be Mom if you can't fix everything just right. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]