diff options
author | Guido van Rossum <guido@python.org> | 1995-09-13 17:37:49 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-09-13 17:37:49 (GMT) |
commit | 26ee80947ed9a2aaa4f467e5337b7d60f6b21637 (patch) | |
tree | c40f36c0e81b097a667e2484cf0138059fc437c0 /Doc/libtime.tex | |
parent | f65f278b8f63588b27cbc819c40f6012488c0390 (diff) | |
download | cpython-26ee80947ed9a2aaa4f467e5337b7d60f6b21637.zip cpython-26ee80947ed9a2aaa4f467e5337b7d60f6b21637.tar.gz cpython-26ee80947ed9a2aaa4f467e5337b7d60f6b21637.tar.bz2 |
added strftime
Diffstat (limited to 'Doc/libtime.tex')
-rw-r--r-- | Doc/libtime.tex | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/libtime.tex b/Doc/libtime.tex index 746e21e..56488d1 100644 --- a/Doc/libtime.tex +++ b/Doc/libtime.tex @@ -94,6 +94,13 @@ Suspend execution for the given number of seconds. The argument may be a floating point number to indicate a more precise sleep time. \end{funcdesc} +\begin{funcdesc}{strftime}{format, tuple} +Convert a tuple representing a time as returned by \code{gmtime()} or +\code{localtime()} to a string as specified by the format argument. +See the \code{strftime(3)} man page for details of the syntax of +format strings. +\end{funcdesc} + \begin{funcdesc}{time}{} Return the time as a floating point number expressed in seconds since the epoch, in UTC. Note that even though the time is always returned |