Search Results

Search: Posts Made By: randev
5,520
Posted By frans
If you have GNU date $ D1="5/21/2010 9:14:00...
If you have GNU date
$ D1="5/21/2010 9:14:00 AM"
$ D2="5/24/2010 7:23:00 AM"
$ DM=$((($(date -d "$D2" +%s)-$(date -d "$D1" +%s))/60))
$ printf "%s:%02d\n" $((DM/60)) $((DM%60))
70:09
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 05:21 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy