Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
nerdponx
on Nov 19, 2023
|
parent
|
context
|
favorite
| on:
datetime.utcnow() is now deprecated
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.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: