D2 phobos std.date question
Stewart Gordon
smjg_1998 at yahoo.com
Tue Jul 14 09:11:32 PDT 2009
Sam Hu wrote:
> Stewart Gordon Wrote:
<snip>
>> Not without seeing your code and knowing what exactly you're trying
>> to do.
>>
>> Stewart.
> Thank you so much for your attention.Actually my questions are:
> 1.std.date has no implementation on getting local region system
> time,is this true?Say getUTCtime(),UTCtoLocalTime() are all 8 hours
> behind my region;I remembered in Tango this is not a problem.gtkD
> provide a clock demo which I have build both under D1+tango and D2,2
> exe show different time.The tango one is correct.
<snip>
Read the source of std.date and see for yourself. If it's getting it
wrong, it suggests either your system is misconfigured or you're using
it wrongly. But since you still haven't posted your code, I still can't
comment further.
Stewart.
More information about the Digitalmars-d-learn
mailing list