scalarstop._datetime¶
Tools for measuring time.
Module Contents¶
Functions¶
|
Returns a TIMEZONE-AWARE |
- utcnow() datetime.datetime¶
Returns a TIMEZONE-AWARE
datetime.datetimeobject.The
datetime.datetime.utcnow()function in the standard library returns a timezone-naive timestamp, which could easily be misinterpreted as being in the local (non-UTC) timezone.