0

Here is an example of how I would like to use this, though it does not work as-is. i would like to use this specific timestamp only.

todate=2017-03-08T19:41:26Z
cond=2017-01-19T19:35:07.000Z
daysdiff=$($todate - $cond)
if [ $daysdiff -gt 5 ];
then
    break
fi                           

How can I achieve the desired result?

John Rotenstein
  • 241,921
  • 22
  • 380
  • 470
Dhaval Babu
  • 151
  • 1
  • 1
  • 6

0 Answers0