tiny std.datetime question

n00b n00b at nospam.com
Wed Jan 16 06:15:39 PST 2013


Nevermind, found it myself.
SysTime* sys = new SysTime(standardTime, UTC());
sys.hour;



Le 16/01/2013 08:07, n00b a écrit :
> Hello, I'm kinda ashamed to ask that here, but std.datetime
> documentation is so complex... I only want to get hour/minute from a
> t_time (no timezone).
> I'm moving to D2, the equivalent code in D1 was:
>
> std.date.Date date;
> date.parse(std.date.toUTCString(time));
> date.hour;



More information about the Digitalmars-d-learn mailing list