diff options
author | Guido van Rossum <guido@python.org> | 1999-06-09 15:11:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-06-09 15:11:58 (GMT) |
commit | 4727456d46d54ba0b61878251db823bf15182e60 (patch) | |
tree | 01e9b9ac9a1241df47113ea3ddb75db095582418 /Doc/lib/libcalendar.tex | |
parent | b39aff87f7b69a6c434d538808e4ebc015754a6f (diff) | |
download | cpython-4727456d46d54ba0b61878251db823bf15182e60.zip cpython-4727456d46d54ba0b61878251db823bf15182e60.tar.gz cpython-4727456d46d54ba0b61878251db823bf15182e60.tar.bz2 |
Add doc for timegm().
Diffstat (limited to 'Doc/lib/libcalendar.tex')
-rw-r--r-- | Doc/lib/libcalendar.tex | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/lib/libcalendar.tex b/Doc/lib/libcalendar.tex index 0c7207b..59e3443 100644 --- a/Doc/lib/libcalendar.tex +++ b/Doc/lib/libcalendar.tex @@ -46,3 +46,11 @@ week will use. \begin{funcdesc}{prcal}{year} Prints the calendar for the year \var{year}. \end{funcdesc} + +\begin{funcdesc}{timegm}{tuple} +An unrelated but handy function that takes a time tuple such are +returned by the \function{gmtime()} function in the \module{time} +module, and returns the corresponding Unix timestamp value, assuming +an epoch of 1970, and the POSIX encoding. In fact, +\function{gmtime()} and \function{timegm()} are each others inverse. +\end{funcdesc} |