Is there no inversion of gmtime()?

Jürgen Hermann jhe at webde-ag.de
Wed Jun 21 05:22:32 EDT 2000


"Dparsavand" <dparsavand at aol.com> schrieb im Newsbeitrag
news:20000620211050.29059.00000981 at ng-da1.aol.com...
> Looking throught the time module, I'm surprised that there doesn't seem to
be a
> way to go from the known date in UTC to the number of seconds since the
epoch.

There are actually two such functions, time.mktime() and rfc822.mktime_tz().
Now read the docs. :)

Ciao, Jürgen

--
Jürgen Hermann (jhe<at>webde-ag.de)
WEB.DE AG, Amalienbadstr.41, D-76227 Karlsruhe
Tel.: 0721/94329-0, Fax: 0721/94329-22





More information about the Python-list mailing list