mirror of
https://github.com/python/cpython.git
synced 2025-11-10 22:36:18 +00:00
added strftime
This commit is contained in:
parent
f65f278b8f
commit
26ee80947e
2 changed files with 14 additions and 0 deletions
|
|
@ -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.
|
be a floating point number to indicate a more precise sleep time.
|
||||||
\end{funcdesc}
|
\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}{}
|
\begin{funcdesc}{time}{}
|
||||||
Return the time as a floating point number expressed in seconds since
|
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
|
the epoch, in UTC. Note that even though the time is always returned
|
||||||
|
|
|
||||||
|
|
@ -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.
|
be a floating point number to indicate a more precise sleep time.
|
||||||
\end{funcdesc}
|
\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}{}
|
\begin{funcdesc}{time}{}
|
||||||
Return the time as a floating point number expressed in seconds since
|
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
|
the epoch, in UTC. Note that even though the time is always returned
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue