5

When updating or creating objects in my database, I need to specify the timezone. How can this be achieved in parse dot com?

Is there any global setting for this?

Termininja
  • 6,620
  • 12
  • 48
  • 49
Yvan
  • 271
  • 4
  • 10

1 Answers1

3

If you're talking about the REST APIs, there is no local time zone support.

Parse.com uses UTC for all timestamps, so you'll have to locally convert the time between the time zone in question and UTC before passing it to its APIs or - the other way - after getting it from the API before presenting it to the user.

Joachim Isaksson
  • 176,943
  • 25
  • 281
  • 294
  • The Difference Between GMT and UTC: http://www.timeanddate.com/time/gmt-utc-time.html – King-Wizard Mar 11 '15 at 10:42
  • Convert UTC to local time in objective C: http://stackoverflow.com/questions/23564769/convert-utc-to-local-time-in-objective-c – King-Wizard Mar 11 '15 at 10:42
  • 1
    Is this still the case? Because according to Parse's [documentation](https://parse.com/docs/rest/guide#push-notifications-local-push-scheduling), it seems to be supported (I haven't been able to get it to work though). – Julian B. Nov 23 '15 at 16:17