diff options
| author | Damien George <damien.p.george@gmail.com> | 2014-10-31 22:21:37 +0000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2014-10-31 22:21:37 +0000 |
| commit | a58713a899b7df5b291e868d2553b2333c0b3dc9 (patch) | |
| tree | ea35bd2780b5ead968a87a3f9c6c855adee62dc6 /docs/library/time.rst | |
| parent | c7da7838bab349ec703df0e99b14878a0c994f48 (diff) | |
docs: Cleanup and update some docs.
Diffstat (limited to 'docs/library/time.rst')
| -rw-r--r-- | docs/library/time.rst | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/docs/library/time.rst b/docs/library/time.rst index a12eab3b2..1ffce7c24 100644 --- a/docs/library/time.rst +++ b/docs/library/time.rst @@ -1,5 +1,5 @@ -:mod:`time` --- time related functions -====================================== +:mod:`time` -- time related functions +===================================== .. module:: time :synopsis: time related functions @@ -7,7 +7,6 @@ The ``time`` module provides functions for getting the current time and date, and for sleeping. - Functions --------- @@ -16,14 +15,15 @@ Functions Convert a time expressed in seconds since Jan 1, 2000 into an 8-tuple which contains: (year, month, mday, hour, minute, second, weekday, yearday) If secs is not provided or None, then the current time from the RTC is used. - year includes the century (for example 2014) - month is 1-12 - mday is 1-31 - hour is 0-23 - minute is 0-59 - second is 0-59 - weekday is 0-6 for Mon-Sun. - yearday is 1-366 + year includes the century (for example 2014). + + * month is 1-12 + * mday is 1-31 + * hour is 0-23 + * minute is 0-59 + * second is 0-59 + * weekday is 0-6 for Mon-Sun + * yearday is 1-366 .. function:: mktime() |
