get current time and convert it to string
Carlos Santander
csantander619 at gmail.com
Thu Apr 27 07:02:26 PDT 2006
Stewart Gordon escribió:
> Abby (J.P.) wrote:
> <snip>
>> Thanks, it works fine.
>> By the way, is there a way to set the time shifting used for the function
>> std.date.UTCtoLocalTime(long t); ?
>> It does automatically put me at GMT+4, and that's not valid.
> <snip>
>
> It seems that either:
> - your computer is misconfigured
> - there's a bug somewhere in Phobos
> - there's a bug somewhere in your code
>
> Looking at your headers of your posts, you appear to be in GMT+2 and
> using Windows, but is this the same system that you're programming on?
> Otherwise, which OS is it happening in?
>
> Please post a complete code sample that demonstrates it.
>
> Stewart.
Some problems with std.date have been reported in the past (including by me),
but since I'm not using DMD I don't know if they're fixed already. Searching the
archives will show some test cases that failed and could be tested again to see
if there have been improvements.
--
Carlos Santander Bernal
More information about the Digitalmars-d-learn
mailing list