Start a new topic

Send device time/date in GET headers.

Hey there.


I'm looking at developing a few apps that give daily information, however a "new day" is defined by my local server time which isn't necessarily when the users' new day occurs. i.e. my server is PST and I'm in the UK, so a "new day" that happens at midnight west cost time, doesn't happen until morning here in the UK.


I could ask the user to set their timezone in the settings for the app, but this is a clock, it already knowns which timezone it's in, that's kinda what it does.


So, it'd be handy if it passed the clocks time or at at the very least date over in the headers.


Cheers.

Login or Signup to post a comment