On Tue, 17 Sep 2002 09:13:57 -0700 (PDT)
sorin <s_gherman_at_yahoo.com> wrote:
> > The date is somewhat complicated... especially a battery drain is
> > critical since it wipes out the real time clock (RTC) of the SA1110.
> > And you cannot really store the date/time in flash since it would
> > require to update it frequently and thus burn out your flash :(
> You can set it just once, when the battery is very low (5% or
> so).
Difficult... you know, what is "once"?
I am sure one could think of a clever mechnism but it is not THAT easy
;)
> > This is a problem with the busybox date command. It does not
> > understand as many formats as the GNU equivalent does. Try somthine
> > like:
> >
> > date DDMMhhmmYYYY
> >
> > where
> > DD = day of month (two digits)
> > MM = month
> > hh = hour
> > mm = minute
> > YYYY = year (four digits)
>
>
> Didn't work:
>
> $ date -s 170911112002
> date: cannot set date: Operation not permitted
> Fri May 9 11:11:00 UTC 2003
>
> $date
> Mon Jan 5 17:05:59 1970
Sure it works!
I did not write "date -s ..." I wrote "date ...". Try again ;)
> /sorin gherman
CU
nils faerber
-- kernel concepts Tel: +49-271-771091-12 Dreisbachstr. 24 Fax: +49-271-771091-19 D-57250 Netphen D1 : +49-170-2729106 --Received on Tue Sep 17 2002 - 16:26:22 EDT
This archive was generated by hypermail 2.2.0 : Mon Jul 25 2005 - 17:19:01 EDT