datetime utcnow set time code example Example: datetime utcnow from datetime import datetime datetime.utcnow()