Skip to main content
edited body
Source Link
Zombo
  • 1
  • 7
  • 47
  • 65

You can use the awk Velour library to return difference in seconds:

$ velour -n 'print t_utc("2010-2010, 9-9", 9) - t_utc("2000-2000, 10-10", 10)'
312854400

Or days:

$ velour -n 'print t_secday(t_utc("2010-2010, 9-9", 9) - t_utc("2000-2000, 10-10", 10))'
3621

You can use the awk Velour library to return difference in seconds:

$ velour -n 'print t_utc("2010-9-9") - t_utc("2000-10-10")'
312854400

Or days:

$ velour -n 'print t_secday(t_utc("2010-9-9") - t_utc("2000-10-10"))'
3621

You can use the awk Velour library to return difference in seconds:

$ velour -n 'print t_utc(2010, 9, 9) - t_utc(2000, 10, 10)'
312854400

Or days:

$ velour -n 'print t_secday(t_utc(2010, 9, 9) - t_utc(2000, 10, 10))'
3621
deleted 12 characters in body
Source Link
Zombo
  • 1
  • 7
  • 47
  • 65

You can use the awk Velour library to return difference in seconds:

$ velour -n 'print tm_datet_utc("2010-9-9") - tm_datet_utc("2000-10-10")'
312854400

Or days:

$ velour -n 'print t_secday(tm_datet_utc("2010-9-9") - tm_datet_utc("2000-10-10")) / tm_day(1)'
3621

You can use the awk Velour library to return difference in seconds:

$ velour -n 'print tm_date("2010-9-9") - tm_date("2000-10-10")'
312854400

Or days:

$ velour -n 'print (tm_date("2010-9-9") - tm_date("2000-10-10")) / tm_day(1)'
3621

You can use the awk Velour library to return difference in seconds:

$ velour -n 'print t_utc("2010-9-9") - t_utc("2000-10-10")'
312854400

Or days:

$ velour -n 'print t_secday(t_utc("2010-9-9") - t_utc("2000-10-10"))'
3621
deleted 10 characters in body
Source Link
Zombo
  • 1
  • 7
  • 47
  • 65

You can use the awk Velour library to return difference in seconds:

$ velour 'BEGIN-n {print'print tm_date("2010-9-9") - tm_date("2000-10-10")}'
312854400

Or days:

$ velour 'BEGIN-n {print'print (tm_date("2010-9-9") - tm_date("2000-10-10")) / tm_day(1)}'
3621

You can use the awk Velour library to return difference in seconds:

$ velour 'BEGIN {print tm_date("2010-9-9") - tm_date("2000-10-10")}'
312854400

Or days:

$ velour 'BEGIN {print (tm_date("2010-9-9") - tm_date("2000-10-10")) / tm_day(1)}'
3621

You can use the awk Velour library to return difference in seconds:

$ velour -n 'print tm_date("2010-9-9") - tm_date("2000-10-10")'
312854400

Or days:

$ velour -n 'print (tm_date("2010-9-9") - tm_date("2000-10-10")) / tm_day(1)'
3621
deleted 6 characters in body
Source Link
Zombo
  • 1
  • 7
  • 47
  • 65
Loading
deleted 10 characters in body
Source Link
Zombo
  • 1
  • 7
  • 47
  • 65
Loading
added 14 characters in body
Source Link
Zombo
  • 1
  • 7
  • 47
  • 65
Loading
Source Link
Zombo
  • 1
  • 7
  • 47
  • 65
Loading