Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome General
 PowerHome Messageboard : PowerHome General
Subject Topic: DST dates for UK Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
dhewison
Newbie
Newbie


Joined: February 28 2008
Location: United Kingdom
Online Status: Offline
Posts: 25
Posted: October 25 2009 at 07:28 | IP Logged Quote dhewison

I've searched the forum and cannot find a definitive
answer to this.

Does ph.isdaylightsavings() only work for the USA ?

- David
Back to Top View dhewison's Profile Search for other posts by dhewison
 
grif091
Super User
Super User


Joined: March 26 2008
Location: United States
Online Status: Offline
Posts: 1357
Posted: October 25 2009 at 12:24 | IP Logged Quote grif091

The description for ph.isdaylightsavings() says..

"Returns a 1 if the date falls within daylight savings time. Returns 0 if it does not. The method used to determine daylight savings time is the standard algorithm for North America and is not dependent upon region settings configured within the machine."

It specifically says "North America", "not dependent upon region settings", so I would say it does not work for UK daylight savings.

Documentation is not always accurate so if you have a running PH set the PC date outside the range of daylight saving to confirm.



Edited by grif091 - October 25 2009 at 12:26


__________________
Lee G
Back to Top View grif091's Profile Search for other posts by grif091
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum