diff options
Diffstat (limited to 'Doc/library/time.rst')
-rw-r--r-- | Doc/library/time.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/time.rst b/Doc/library/time.rst index 56f972c..d76e089 100644 --- a/Doc/library/time.rst +++ b/Doc/library/time.rst @@ -369,6 +369,9 @@ Functions :pep:`475` for the rationale). +.. index:: + single: %; datetime format + .. function:: strftime(format[, t]) Convert a tuple or :class:`struct_time` representing a time as returned by @@ -500,6 +503,9 @@ Functions it is 3. +.. index:: + single: %; datetime format + .. function:: strptime(string[, format]) Parse a string representing a time according to a format. The return value |