Skip to main content

get_datetime_utc

Returns the current date and time in the UTC timezone.

def get_datetime_utc() - > datetime

Returns the current system date and time localized to the UTC timezone.

Returns

TypeDescription
datetimeA timezone-aware datetime object representing the current moment in UTC.