Hi, ALL,
C:\Documents and Settings\Igor.FORDANWORK\My
Documents\GitHub\webapp\django\mysql_db_loader>python
Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit
(Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> datetime.datetime.fromtimestamp(1092787200)
datetime.datetime(2004, 8, 17, 17, 0)
>>> datetime.datetime.fromtimestamp(1092787200/1000.0)
datetime.datetime(1970, 1, 13, 7, 33, 7, 200000)

Is there a way to know if the timestamp has a microseconds?

Thank you.
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to