mirror of
https://github.com/johnkerl/miller.git
synced 2026-01-23 02:14:13 +00:00
19 lines
744 B
Text
19 lines
744 B
Text
end {
|
|
|
|
print "---------------------------------------------------------------- TIMEZONE";
|
|
print "TZ is", ENV["TZ"];
|
|
|
|
print "---------------------------------------------------------------- STRFTIME";
|
|
print strftime(0.123456, "%Y-%m-%dT%H:%M:%SZ");
|
|
print strftime(0.0, "%Y-%m-%d %H:%M:%S");
|
|
print strftime(0.0, "%Y-%m-%d %H:%M:%3S");
|
|
print strftime(0.0, "%Y-%m-%d %H:%M:%S %Z");
|
|
print strftime(0.0, "%Y-%m-%d %H:%M:%S %z");
|
|
print strftime(0.123456, "%Y-%m-%d %H:%M:%S %Z");
|
|
print strftime(0.123456, "%Y-%m-%d %H:%M:%S %z");
|
|
print strftime(0.0, "%Y-%m-%d %H:%M:%S %Z");
|
|
print strftime(0.0, "%Y-%m-%d %H:%M:%S %z");
|
|
print strftime(0.123456, "%s %N");
|
|
print strftime(0.123456, "%S %O");
|
|
|
|
}
|