File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -168,6 +168,18 @@ \section{Built-in Module \module{time}}
168168
169169\end {funcdesc }
170170
171+ \begin {funcdesc }{strptime}{string\optional {, format}}
172+ Parse a string representing a time according to a format. The return
173+ value is a tuple as returned by \code {gmtime()} or \code {localtime()}.
174+ The format uses the same directives as those used by
175+ \code {strftime()}; it defaults to \code {"\% a \% b \% d \% H:\% M:\% S \% Y"}
176+ which matches the formatting returned by \code {ctime()}. The same
177+ platform caveats apply; see the local Unix documentation for
178+ restrictions or additional supported directives. This function may
179+ not be defined on all platforms.
180+
181+ \end {funcdesc }
182+
171183\begin {funcdesc }{time}{}
172184Return the time as a floating point number expressed in seconds since
173185the epoch, in UTC. Note that even though the time is always returned
You can’t perform that action at this time.
0 commit comments