Quantcast
Channel: Set relative time using command line - Super User
Viewing all articles
Browse latest Browse all 4

Answer by ti7 for Set relative time using command line

$
0
0

Recent date can now set the date relatively with natural language!

Here is an example using GNU coreutils 8.23

# dateFri Oct  5 16:24:25 UTC 2018# date --set "10 minutes ago"Fri Oct  5 16:14:25 UTC 2018# date --set "10 minutes"Fri Oct  5 16:24:25 UTC 2018

Viewing all articles
Browse latest Browse all 4

Trending Articles