(list (dat$ (date T)) (tim$ (time T) T))
-> ("20080819" "10:55:59")

The T argument to (date) returns UTC, and the T argument to (time)  
returns the time at the call to date. If (date) was called with the T  
argument, the time will be in UTC.

The T argument to (tim$) returns a string with seconds. Without it,  
the seconds are left off.

Hope this helps,
John

On 19 Aug 2008, at 6:28 AM, Andrei Ivushkin wrote:

> Guys, please clarify:
>
>>> (date)
>>> When called with a T argument, the current Coordinated Universal  
>>> Time (UTC) is returned.
>
>>> (time)
>>> When called with a T argument, the time of the last call to date  
>>> is returned.
>
> I need to obtain current UTC not only for date but also for time.  
> How do I?
> Thanks
> -- 
> UNSUBSCRIBE: mailto:[EMAIL PROTECTED]
-- 
UNSUBSCRIBE: mailto:[EMAIL PROTECTED]

Reply via email to