()
return datetime.datetime.utcnow().isoformat() + 'Z'
Get the current datetime as an RFC 3339-compliant string
Get the current datetime as an RFC 3339-compliant string
Get the current datetime as an RFC 3339 - compliant string
def timestring() -> str:
    """Get the current datetime as an RFC 3339-compliant string"""
    # isoformat doesn't include the mandatory trailing 'Z' for UTC.
    return datetime.datetime.utcnow().isoformat() + 'Z'
def timestring ( ) -> str : # isoformat doesn't include the mandatory trailing 'Z' for UTC. return datetime . datetime . utcnow ( ) . isoformat ( ) + 'Z'