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 db65a32 commit 1998ea6Copy full SHA for 1998ea6
Doc/library/datetime.rst
@@ -1350,7 +1350,7 @@ Instance methods:
1350
1351
Because naive ``datetime`` objects are treated by many ``datetime`` methods
1352
as local times, it is preferred to use aware datetimes to represent times
1353
- in UTC; as a result, using ``utcfromtimetuple`` may give misleading
+ in UTC; as a result, using :meth:`datetime.utctimetuple` may give misleading
1354
results. If you have a naive ``datetime`` representing UTC, use
1355
``datetime.replace(tzinfo=timezone.utc)`` to make it aware, at which point
1356
you can use :meth:`.datetime.timetuple`.
0 commit comments