Skip to content

Date


Set time

adb shell date HH:mm;am broadcast -a android.intent.action.TIME_SET

Set date and time

adb shell date MMDDhhmmYYYY.ss;am broadcast -a android.intent.action.TIME_SET

Set time zone

adb shell setprop persist.sys.timezone "America/Los_Angeles"
adb shell date
adb shell date +%s%3N
adb shell date +%s