std.date / std.datetime

Jonathan M Davis jmdavisProg at gmx.com
Tue Jan 18 03:39:50 PST 2011


On Tuesday 18 January 2011 03:34:06 Richard Chamberlain wrote:
> Hello,
> 
> I'm in the process of learning D, and to do so I'm converting some older
> code.
> 
> I need to print out the current local date and time, which is causing
> some difficulties because std.date doesn't seem adequate in this
> respect. I understand there is soon to be a replacement, std.datetime,
> which I suspect will be much easier.
> 
> When are we likely to see a new release which includes std.datetime?
> 
> If not relatively soon I presume the easiest thing to do is to download
> it myself and recompile the phobos library to include it. In which case
> there seems to be already a std.datetime with different functionality,
> is this used elsewhere in phobos? i.e. if I replace it with the new
> std.datetime is that OK?

std.datetime is currently in Phobos' svn repository and will be in the next 
release.

- Jonathan M Davis


More information about the Digitalmars-d-learn mailing list