[PATCH] date (add gnu-ism)

David Edwards busybox at dpe.lusars.net
Wed Oct 1 11:57:23 UTC 2008


On Wed, 1 Oct 2008, walter harms wrote:
> date -u should use UTC does it work here also ?

Yes. I haven't done extensive testing, but it uses the same mechanism as 
any other format, so it does UTC as well as any other part of date.c

./busybox date -d @1
Wed Dec 31 19:00:01 EST 1969

./busybox date -u -d @1
Thu Jan  1 00:00:01 UTC 1970



More information about the busybox mailing list