Re:It's Time for a Change: Datetime.utcnow() Is Now Deprecated
by nerdponx on Sunday November 19, 2023 @05:42PM
(#38339261)
datetime.now(tz=timezone.utc) is what you probably want most of the time anyway. You can always manually strip off the time zone component if you really want to use datetimes without associated time zones.
[ Parent
| on HN ]
There are no comments on this comment yet.