[Tutor] can time.time() be reversed so as to get date?
Timo
timomlists at gmail.com
Fri Nov 6 18:53:05 CET 2009
Shashwat Anand schreef:
> If I have been given the number of seconds from midnight 1970.01.01
> GMT, can I calculate the date, month and time in the following format
> : 'Fri Nov 6 9:58:16 2009' ?
Yes, I think it can be done with the datetime module.
Timo
> ------------------------------------------------------------------------
>
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
More information about the Tutor
mailing list