Real time clock

mso
How do I have to set time that the realtime clock is set?
I set time with 

date 2009.12.03-20:00

but after a reboot the time is lost and some other time from 2005 is
restored.

How can I fix that?

thanks a lot

davef
Qtopia or terminal?

mso
the time is wrong in both. I want to set with terminal

mso
No help?

davef
Does this help?  Search for <BusyBox commands>

hwclock
    hwclock [-r|--show] [-s|--hctosys] [-w|--systohc] [-l|--localtime]
[-u|--utc] [-f FILE] 

    Query and set hardware clock (RTC)

    Options:

            -r      Show hardware clock time
            -s      Set system time from hardware clock
            -w      Set hardware clock to system time
            -u      Hardware clock is in UTC
            -l      Hardware clock is in local time
            -f FILE Use specified device (e.g. /dev/rtc2)

mso
yes thats it! thanks, but in the meantime I found it myself. Thanks anyway.

Orlando
How can I do it Qtopia???

Orlando
How can I do it Qt ???

Juergen Beisert
Just read the source of the "hwclock" command and you will know how to set
the clock from inside your own program.