Datetime Utc Python
theditto.co › datetime-utc-pythonJan 14, 2022 · To get the current timestamp in UTC timezone, use datetime.now () passing timezone.utc: Datetime Now Utc Python Current datetime in Timezone Datetime Python Utc String Use datetime.now (timezone (timedelta (hours=<offset_hours>))) Datetime with Offset Timezone Timezones can be defined by the offset with respect to UTC.