Hi All,
How to get previous 5 min time stamp in hh:mm format ?
suresh
Hi All,
How to get previous 5 min time stamp in hh:mm format ?
suresh
one way:
-bash-3.1$ date -d '5 min ago' +'%H:%M'
13:23
-bash-3.1$ date --version
date (GNU coreutils) 5.97