Python-list Digest, Vol 77, Issue 7 *

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Mon Feb 1 20:00:38 CET 2010


En Mon, 01 Feb 2010 07:26:13 -0300, Rohit Roger$ <rohitraj007 at gmail.com>  
escribió:

> Help for datetime module
>
> Source code is :
> from datetime import datetime
> d = datetime(datetime.now().year, datetime.now().month,  
> datetime.now().day, 11, 59, 0 )
> print d

And your problem is...?
This is what I get:
py> print d
2010-02-01 11:59:00

-- 
Gabriel Genellina




More information about the Python-list mailing list