Skip to content

Instantly share code, notes, and snippets.

@jungle-boogie
Created November 13, 2015 05:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jungle-boogie/0e0c0cb80a8bfed24212 to your computer and use it in GitHub Desktop.
Save jungle-boogie/0e0c0cb80a8bfed24212 to your computer and use it in GitHub Desktop.
% mlr --csvlite put '$sec=gmt2sec($gmt)' ./reg_test/input/gmt2sec
gmt,sec
1970-01-01T00:00:00Z,0
1970-01-01T00:00:01Z,1
1970-01-01T00:00:10Z,10
1970-01-01T00:01:40Z,100
1970-01-01T00:16:40Z,1000
1970-01-01T02:46:40Z,10000
1970-01-02T03:46:40Z,100000
1970-01-12T13:46:40Z,1000000
1970-04-26T17:46:40Z,10000000
1973-03-03T09:46:40Z,100000000
2001-09-09T01:46:40Z,1000000000
2015-05-19T11:49:40Z,1432036180
2017-07-14T02:40:00Z,1500000000
2033-05-18T03:33:20Z,2000000000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment