> I noticed that there doesn't currently seem to be a > function that takes a tuple of date information (like > that returned by localtime()) and turns it into a > Unix time -- effectively, the reverse operation to > localtime() or gmtime(). To go from a local time tuple to Unix time, there's time.mktime(). To go from a gm time tuple to Unix time, there's calendar.timegm(). (The latter only exists in the CVS version.) --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4