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?