Get current date and time with std.datetime

Joel Christensen joelcnz at gmail.com
Thu Oct 6 23:58:12 PDT 2011


>
> http://d-programming-language.org/intro-to-datetime.html

Thanks Jonathan, that helped I think, (haven't read it all, though). But 
I've got errors with some of the date times not being able to change 
them with int's values.

task.d(44): Error: function std.datetime.DateTime.month () const is not 
callable using argument types (int)
task.d(44): Error: cannot implicitly convert expression (month0) of type 
int to Month

-JoelCNZ


More information about the Digitalmars-d-learn mailing list