Android Get Photo Timezone

January 14, 2020

Photo exif data doesn’t contain timezone information, just a timestamp.

NOTE: Android Read Exif Date as LocalDateTime

Probable Solutions

  • You can use device default timezone: ZoneId.systemDefault()
  • You can guess the correct timezone by using photo’s GPS location
  • You can let user select timezone when importing photos by batches, and verify accuracy by showing actual time of a few samples


  • The user might forget to switch device timezone when travelling abroad, thus it will mess up the whole timestamp accuracy
  • The user might take photos in home country, then travel abroad and try to import photos using device timezone
  • User might not switch on GPS for photos


This work is licensed under a
Creative Commons Attribution-NonCommercial 4.0 International License.