[question] how to set the date using busybox
walter harms
wharms at bfs.de
Mon Aug 15 10:02:43 UTC 2016
Does it work for you if you do not use the epoch but the "normal"
date format MMDDhhmmCCYY ?
re,
wh
Am 15.08.2016 11:22, schrieb piotr.lewicki:
> 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
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox
>
More information about the busybox
mailing list