Wednesday, 3 November 2010

Setting the date on Android emulator adb

To set the date on your android emulator use the following command from the terminal

adb shell date -s 20101023.130155

This sets the date to be Oct 23rd 13:01:55 2010


  1. How to set Kenya Time ?

  2. The command mentioned sets a local time, there is no time zone information.
    So if you are in Kenya, your machine is set to the Kenyan time zone, your phone is in the Kenyan timezone then the command given will set the time in Kenyan time zone.
    Hope that helps