gives the local date and notes the local time internally
gives the UTC date and notes the UTC time internally
gives the local time
gives the UTC time at the time of the last call to 'date
The idea being, that this gives a synchronized UTC date and time.
Just calling (date) and then calling (time) could give serious problems, if
for instance the 'date call was just prior to midnight and the 'time
just after midnight.
(setq UTCDate (date T) UTCTime (time T))
will give you the UTC date and time and avoid any problems with a
possible midnight rollover.
(setq LDate (date) LTime (time T))
will give you the local date and time with no midnight rollover.
Witneystrasse 7, D-82008 Unterhaching, Germany
phone: +49-89-12417690 mobile: +49-176-24129991
Andrei Ivushkin wrote:
Guys, please clarify:
When called with a T argument, the current Coordinated Universal
Time (UTC) is returned.
When called with a T argument, the time of the last call to date is
I need to obtain current UTC not only for date but also for time. How
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]