|  | Posted by bill on 10/26/07 13:26 
AnrDaemon wrote:> Greetings, Jeremy.
 > In reply to Your message dated Friday, October 26, 2007, 04:43:12,
 >
 > J> if(date("I") == 1)
 > J> {
 > J>         //daylight saving time
 > J> }
 > J> else
 > J> {
 > J>         //not daylight saving time
 > J> }
 >
 > J> Whether this is accurate (in light of the recent change in the
 > J> definition of DST) is up to your server.
 >
 > Don't forget to set date.timezone to client timezone before checking that.
 >
 >
 yeah, that is the problem, my ISP will only allow setting the
 timezone offset, not the timezone.
 
 I'll get around that.
  Navigation: [Reply to this message] |