1. kevinskliu's Avatar
    Hi All ,
    I launch simulator at my PC then use adb -s emulator-5554 shell enter simulator file system .
    when I try to set time and date use following command

    root@android:/ # date 201101061200
    time 201101061200 -> -762401712.0
    root@android:/ # date
    Sat Nov 3 21:44:50 GMT 1945
    root@android:/ #

    it is not working . how can I use it ?
    Thank a lot ...
    01-06-2011 09:14 AM
  2. panda84's Avatar
    From system/core/toolbox/date.c:
    fprintf(stderr,"%s [-s 20070325.123456] [-u] [date]\n", argv[0]);
    so try:
    date -s yyyyMMdd.hhmmss
    03-09-2011 09:17 AM
LINK TO POST COPIED TO CLIPBOARD