How to convert datetime.date.today() to UTC time?

Use utcnow:

today = datetime.datetime.utcnow().date()

Leave a Comment