Python DateTime в UTC
from datetime import timezone
timestamp = dt.replace(tzinfo=timezone.utc).timestamp()
Brave Booby
from datetime import timezone
timestamp = dt.replace(tzinfo=timezone.utc).timestamp()
from datetime import datetime
my_date = datetime.now()
print(my_date.isoformat())