mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
bpo-43869: Improve epoch docs (GH-25777)
This commit is contained in:
parent
7407fe4c25
commit
ff7703c4b6
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ An explanation of some terminology and conventions is in order.
|
||||||
.. index:: single: epoch
|
.. index:: single: epoch
|
||||||
|
|
||||||
* The :dfn:`epoch` is the point where the time starts, and is platform
|
* The :dfn:`epoch` is the point where the time starts, and is platform
|
||||||
dependent. For Unix, the epoch is January 1, 1970, 00:00:00 (UTC).
|
dependent. For Unix and Windows, the epoch is January 1, 1970, 00:00:00 (UTC).
|
||||||
To find out what the epoch is on a given platform, look at
|
To find out what the epoch is on a given platform, look at
|
||||||
``time.gmtime(0)``.
|
``time.gmtime(0)``.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue