Mini Shell

Direktori : /proc/self/root/proc/self/root/usr/share/awk/
Upload File :
Current File : //proc/self/root/proc/self/root/usr/share/awk/ctime.awk

# ctime.awk
#
# awk version of C ctime(3) function

function ctime(ts,    format)
{
    format = "%a %b %e %H:%M:%S %Z %Y"

    if (ts == 0)
        ts = systime()       # use current time as default
    return strftime(format, ts)
}

Zerion Mini Shell 1.0