get current time and convert it to string

Derek Parnell derek at psych.ward
Thu Apr 27 09:06:08 PDT 2006


On Fri, 28 Apr 2006 00:37:28 +1000, Abby (J.P.)  
<the.ueabraham at laposte.net> wrote:



>      char[] thetime = toTimeString(UTCtoLocalTime(getUTCtime()));

It isn't documented but the input to toTimeString() is assumed to be UTC,  
and it outputs a Local time string.

-- 
Derek Parnell
Melbourne, Australia



More information about the Digitalmars-d-learn mailing list