I’m trying to keep the high (millisecond) precision of my time, shown in my
I’m confused by the output I get, because I try to add 5 minutes, but it looks like it's subtracting 8 hours and 59 minutes?
TIME="23:01:05.001" echo $TIME date -d "$TIME + 5 min" +"%H:%M:%S.%3N" 23:01:05.001 14:02:05.001
But my desired output is:
How can I use
date with my
$TIME variable and just add five minutes to it?