Converting datetime.date to UTC timestamp in Python,timestamp = dt.replace(tzinfo=timezone.utc).timestamp()