Skip to content

Instantly share code, notes, and snippets.

@tiagobbraga
Last active August 29, 2015 14:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tiagobbraga/e8b61f6f3ef54747068f to your computer and use it in GitHub Desktop.
Save tiagobbraga/e8b61f6f3ef54747068f to your computer and use it in GitHub Desktop.
Android - Change timezone simulator
If you use IntelliJ you can do that from Run/Edit Configurations window. Go to Emulator tab and add this to "Additional command line options":
-timezone Europe/Helsinki
Android document gives this info:
-timezone Set the timezone for the emulated device to , instead of the host's timezone. must be specified in zoneinfo format. For example: "America/Los_Angeles" "Europe/Paris"
Zoneinfo format is also known as tz database. So to find you specific timezone, you can use the Wikipedia list here:
http://en.wikipedia.org/wiki/List_of_tz_database_time_zone
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment