2

does it give the cellphone's time or the cell phone network's time or gps satellite time? I would like to convert the time to EST is that possible? assuming users are from around world?

user3472537
  • 319
  • 2
  • 11

1 Answers1

-1

Since getTime()

Return the UTC time of this fix, in milliseconds since January 1, 1970.

you can use the method described here to convert from Date in milliseconds to EST Format.

Community
  • 1
  • 1
Jorgesys
  • 124,308
  • 23
  • 334
  • 268