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

[eluser]esset[/eluser]
No no noctrum, you missunderstand me.

I have the offset which lets my know where the user is in the world. Now I want to know the date for which the show airs depending on the user location.

So let's say "Show 1" airs 11pm on the 2th in LA, then it would be the 3rd in Sweden since we are ahead in time. But in my database I only have the date as the airdate in America (2010-04-02) and the GMT+5 offset in another table. So the query someone needs to fetch the show as it would be aired on the 3rd (or some similuar solution... here's were I'm a little lost Tongue)


Ideas?

Thanks


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