8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
utctimetuple
1 parent 5e9df88 commit 8e9d08bCopy full SHA for 8e9d08b
Doc/library/datetime.rst
@@ -1351,7 +1351,7 @@ Instance methods:
1351
1352
Because naive ``datetime`` objects are treated by many ``datetime`` methods
1353
as local times, it is preferred to use aware datetimes to represent times
1354
- in UTC; as a result, using ``utcfromtimetuple`` may give misleading
+ in UTC; as a result, using :meth:`datetime.utctimetuple` may give misleading
1355
results. If you have a naive ``datetime`` representing UTC, use
1356
``datetime.replace(tzinfo=timezone.utc)`` to make it aware, at which point
1357
you can use :meth:`.datetime.timetuple`.
0 commit comments