Welcome to Web-News
A Web-based News Reader
Subject Re: get current time and convert it to string
From Derek Parnell <derek@psych.ward>
Date Fri, 28 Apr 2006 02:06:08 +1000
Newsgroups digitalmars.D.learn

On Fri, 28 Apr 2006 00:37:28 +1000, Abby (J.P.)  
<the.ueabraham@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

Recent messages in this thread
 
-# get current time and convert it to string Abby (J.P.) 26-Apr-2006 08:43 am
.|# Re: get current time and convert it to string Stewart Gordon 26-Apr-2006 09:30 am
.-# Re: get current time and convert it to string Tydr Schnubbis 26-Apr-2006 12:48 pm
..-# Re: get current time and convert it to string Abby (J.P.) 26-Apr-2006 03:58 pm
...-# Re: get current time and convert it to string Derek Parnell 26-Apr-2006 08:36 pm
...|\# Re: get current time and convert it to string Carlos Santander 27-Apr-2006 10:03 am
...-# Re: get current time and convert it to string Stewart Gordon 27-Apr-2006 09:21 am
....|# Re: get current time and convert it to string Carlos Santander 27-Apr-2006 10:02 am
....-# Re: get current time and convert it to string Abby (J.P.) 27-Apr-2006 10:37 am
.....-# Re: get current time and convert it to string (Current message) Derek Parnell 27-Apr-2006 12:06 pm
......-# Re: get current time and convert it to string Abby (J.P.) 27-Apr-2006 12:18 pm
.......-# Re: get current time and convert it to string kris 27-Apr-2006 12:48 pm
........\# Re: get current time and convert it to string John C 27-Apr-2006 01:21 pm