Bash - compare 2 dates
Posted on 2007-04-04
How can i compare 2 dates?
Thu Apr 5 06:13:35 UTC 2007
This one, with a pre-given one (pregivendate="5 May 2007")
(i just want to compare the day, month and year)
Something like ...
if date is greater than the pregivendate; then stop else do something