now = datetime.utcnow() code example Example: datetime utcnow from datetime import datetime datetime.utcnow()