I hereby claim:
- I am choww on github.
- I am choww (https://keybase.io/choww) on keybase.
- I have a public key ASBEeNvWMc5U3J6OvDMSBnUeD28AMVgThOef43J_FnV_hAo
To claim this, I am signing this object:
from datetime import datetime, date, timedelta, timezone, timestamp | |
# create today's date that's offset-aware--datetime.today() seems to do the same thing | |
now = datetime.now(timezone.utc) | |
# convert datetime object to formatted string | |
today = now.strftime('%Y/%m/%d') | |
# calling `.astimezone()` without a timezone object defaults to the local timezone | |
pdt = now.astimezone() | |
# turn date string into timestamp |
I hereby claim:
To claim this, I am signing this object: