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.now(timezone.utc).replace(tzinfo=None).isoformat() + "Z"
Get the current datetime as an RFC 3339-compliant string
core/dbt/utils/utils.py