I want to get the date 3 minutes on the future. For example, if "now" is
01-Jan-70 00:00:00 GMT
I want to get
01-Jan-80 00:03:00 GMT
How should I do it? I'm working with busybox linux.
busyboxdate
I want to get the date 3 minutes on the future. For example, if "now" is
01-Jan-70 00:00:00 GMT
I want to get
01-Jan-80 00:03:00 GMT
How should I do it? I'm working with busybox linux.
Best Answer
With GNU
date
you can do it as simple as this:But
busybox
seems not so smart (yet). The only reliable solution I came up with usingbb
is:(you don't need the
busybox
parts if there is no otherdate
implementation present)If you want a formatted output, you could add this