Lorem ipsum dolor sit amet, consectetur adipiscing elit. Test link

Search Suggest

Subtract two date difference in days
Subtract two date difference in days

How to calculate two date difference in x days

Subtract two date difference in days olddate=2018-06-19 newdate=2020-04-24 echo $(( ($(date -d $newdate +%s) - $(date -d $olddate +%s)) / 86400 )) da…