Python Datetime ke UTC

from datetime import timezone

timestamp = dt.replace(tzinfo=timezone.utc).timestamp()
Brave Booby