Help for clock.timestamp

clock ยท timestamp

Sample CLI

gway clock timestamp

Full Code

def timestamp(*, utc=False) -> str:
    """Return the current timestamp in ISO-8601 format."""
    return now(utc=utc).isoformat().replace("+00:00", "Z" if utc else "")