Hi
I dont know how should I convert date format (like 2008-11-1 12:35:02) to unix format (I need it in calendar db)
is any converting function between Human format <==> Unix format ?
thank you
Hi
I dont know how should I convert date format (like 2008-11-1 12:35:02) to unix format (I need it in calendar db)
is any converting function between Human format <==> Unix format ?
thank you
A simple search would have done the job,
http://www.epochconverter.com/
IDEAS is all they need but still they think only Genius can give them that.
thank you, but
Says: File "<console>", line 1, in ?import time
int(time.mktime(time.strptime('2000-01-01 12:34:00', '%Y-%m-%d %H:%M:%S')))
AttributeError: 'module' object has no attribute 'strptime'
is the problem with my Python installation or is it general problem?
Last edited by mozillaman; 2008-11-01 at 22:24.
Hi,
I think time module not have the function strptime but its a strftime.
Thts why it gives you an error.
Regards.
Jajal Mehul