tz function not working properly
-
I’m having difficulty with the tz over-ride function. The source feed I’m using can be found here https://www.yorktownsports.org/main/teamschedule/id/48504/seasonid/4537390 When I pull the feed in without the tz parameter, I’m getting a time that is 5 hours early (suggesting that the correct time zone for this feed is GMT – as I’m on the East Coast USA). When I set to Europe/London or Europe/Paris, the time is shifted 10 hours forward, rather than 5. So I thought perhaps my local time zone was being incorrectly read, and deducing from the tz parameter that Europe/London as 5 hours ahead of my target time, I tried America/New_York, which should have moved the time back 5 hours to the correct time, but in fact, moved it back 10 hours again. I’m unclear on why the tz parameter when used for London and then used for New York would show a 10 hour disparity when it should only be 5. It also appears that some of the other cities listed in the php references are not recognized by the parameter.
The page I need help with: [log in to see the link]
- The topic ‘tz function not working properly’ is closed to new replies.