Debian Codegraph @

test/cases/dsl-gmt-date-time-functions/0020n/mlr

raw
1 end {
2 print strpntime("1970-01-01T00:00:00Z", "%Y-%m-%dT%H:%M:%SZ");
3 print strpntime("1970-01-01T00:00:00Z", "%Y-%m-%dT%H:%M:%SZ");
4 print strpntime("1970-01-01 00:00:00 -0400", "%Y-%m-%d %H:%M:%S %z");
5 print strpntime("1970-01-01%00:00:00Z", "%Y-%m-%d%%%H:%M:%SZ");
6 print strpntime("1970-01-01T00:00:00Z", "%FT%TZ");
7 print strpntime("1970:363", "%Y:%j");
8 print strpntime("1970-01-01 10:20:30 PM", "%F %r");
9 print strpntime("01/02/70 14:20", "%D %R");
10 print strpntime("01/02/70 14:20", "%D %X"); # no such format code
11 print fmtnum(strpntime("1971-01-01T00:00:00.123456Z", "%Y-%m-%dT%H:%M:%S.%fZ"), "%.6f");
12 }