Welcome Guest, Not a member yet? Register   Sign In
How to get entries from DB depending on timezone?
#3

[eluser]esset[/eluser]
Hi Luben

Thanks for your response. After reading through the page I can't say I'm much further to solving my issue, hehe.

When he say..
Quote:If we store “absolute” times in the database, then displaying times to users becomes a localization issue.

.. he kind of lost me. Does that mean storing the date as if it was GMT +- 0 ? So for "Show 1" which let's say have GMT+3 we store it as 9:00(?), then work from there?


I'll have as he says making the user choose their GMT offset, like +1, +2, -5 or so. But how do I then query my database to get the correct results for the correct day?


Thanks for you help


Messages In This Thread
How to get entries from DB depending on timezone? - by El Forum - 04-10-2010, 06:35 AM
How to get entries from DB depending on timezone? - by El Forum - 04-10-2010, 07:26 AM
How to get entries from DB depending on timezone? - by El Forum - 04-10-2010, 11:01 AM
How to get entries from DB depending on timezone? - by El Forum - 04-12-2010, 12:24 PM
How to get entries from DB depending on timezone? - by El Forum - 04-12-2010, 02:49 PM
How to get entries from DB depending on timezone? - by El Forum - 04-12-2010, 02:53 PM
How to get entries from DB depending on timezone? - by El Forum - 04-12-2010, 02:58 PM
How to get entries from DB depending on timezone? - by El Forum - 04-12-2010, 03:28 PM
How to get entries from DB depending on timezone? - by El Forum - 04-12-2010, 03:53 PM
How to get entries from DB depending on timezone? - by El Forum - 04-12-2010, 04:12 PM
How to get entries from DB depending on timezone? - by El Forum - 04-15-2010, 10:20 AM
How to get entries from DB depending on timezone? - by El Forum - 04-15-2010, 11:39 AM
How to get entries from DB depending on timezone? - by El Forum - 04-15-2010, 11:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB