date and time

Yao G. yao.gomez at spam.gmail.com
Sat Sep 25 16:51:33 PDT 2010


On Sat, 25 Sep 2010 18:47:39 -0500, Joel Christensen <joelcnz at gmail.com>  
wrote:

> I'm using D2.049. I have a program in which I want to be able to get the  
> current time as one number, also be able to change the hour and stuff  
> then convert it back to one number. I'm saving just the one number to  
> file.
>
> Thanks in advance. :-)

std.datetime is your friend.

http://www.digitalmars.com/d/2.0/phobos/std_date.html

-- 
Yao G.


More information about the Digitalmars-d-learn mailing list