ho usato: utctime = datetime.datetime(1601,1,1) + datetime.timedelta(microseconds = tup[5]) last_visit_time = "Last visit time:"+ utctime.strftime('%Y-%m-%d %H:%M:%S')
Usa datetime.strftime() negli anni precedenti al 1900? ("Richiedo anno> = 1900")
Ma non ho il tempo di 1601, quindi lo spettacolo di errore: ValueError: year=1601 is before 1900; the datetime strftime() methods require year >= 1900
ho usato python2.7, come posso farlo ? Molte grazie!
Avrete bisogno di una libreria esterna. mxDateTime risale all'anno 0. http://www.egenix.com/products/python/mxBase/mxDateTime/doc/ –