date

    date command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.4
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    88

    #date

    Display dates and times for MoonX.

    moonx cli/date@0.1.4 [OPTION]... [+FORMAT]

    #Supported scope

    Print the current time or an ISO date/time or @SECONDS value using TZ, the host timezone, or UTC. Fractional seconds accept up to nine digits.

    #Options

    OptionDescription
    -u, --utcUse UTC.
    -d, --date=TEXTRead an ISO date/time or @SECONDS.
    -I[PRECISION], --iso-8601[=PRECISION]ISO output: date, hours, minutes, seconds or ns.
    -R, --rfc-emailPrint an RFC email timestamp.
    --help / --versionShow help / package version.

    #Limitations

    • Relative date expressions and setting the system clock are unsupported.
    • Formats: %Y %y %m %d %e %H %M %S %j %a %A %b %h %B %F %T %R %s %N %z %Z and %%.

    #Examples

    moonx cli/date@0.1.4 -u +%FT%TZ moonx cli/date@0.1.4 -u -d @0 +%F