[question] how to set the date using busybox
piotr.lewicki
piotr.lewicki at elfin.de
Mon Aug 15 09:22:15 UTC 2016
Hello,
I'm using busybox v1.24.1 and I have a problem with setting the date
using date command.
Normally it should work with:
date -s @'1271251273'
with -s for setting, and the date format in seconds from epoch (one you
can get with "date +%s")
The command above is returning the proper date (in this case Wed Apr 14
13:21:13 UTC 2010) but it does not set the new date, i.e. next execution
of "date" is displaying the old date.
I'm 100% sure that this was working with busybox 1.18.5 because I'm
using that on the other board.
Is this possible that I have found a bug?
Let me know how to set the date using seconds from epoch.
Thank you,
Piotr Lewicki
More information about the busybox
mailing list