Active TopicsActive Topics  Display List of Forum MembersMemberlist  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin
PowerHome Bug Reports
 PowerHome Messageboard : PowerHome Bug Reports
Subject Topic: ph_isdaylightsavings Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: November 29 2006 at 23:03 | IP Logged Quote npavkov

Dave, I am having a problem getting the 'ph_isdaylightsavings' function to evaluate in formula builder. Is there any known issues with this function???

I tried 'ph_isdaylightsavings(now())' and that will not evaluate in formula builder.
Back to Top View npavkov's Profile Search for other posts by npavkov
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: December 07 2006 at 12:49 | IP Logged Quote dhoward

Nick,

You're right. Try as I might, I am unable to get this function to work. It seems to be related to passing in a DATE parameter. Not sure why this is a problem but Ive got it working now with a DATETIME parameter (this will have no effect on how this function works as you can pass in just a date).

Anyways, this will be available in the next version and will also include the changes for the new daylight savings time law going into effect in 2007.

BTW, the proper format for the command will be:

ph_isdaylightsavings(today())

The now() is a time only value .

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: February 07 2007 at 21:04 | IP Logged Quote npavkov

dave, have you ever got this function to work??? I still can not get it to work with 'ph_isdaylightsavings(today()) '. Does the current version of PH include the changes for the daylightsavings time changes?
Back to Top View npavkov's Profile Search for other posts by npavkov
 
dhoward
Admin Group
Admin Group
Avatar

Joined: June 29 2001
Location: United States
Online Status: Offline
Posts: 4447
Posted: February 07 2007 at 21:22 | IP Logged Quote dhoward

Nick,

Ive fixed the function, but it's in the version that Im currently working on. Hopefully just a few days more and I'll have it ready for release.

Dave.
Back to Top View dhoward's Profile Search for other posts by dhoward Visit dhoward's Homepage
 
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: February 07 2007 at 21:23 | IP Logged Quote npavkov

thanks Dave, anxiously awaiting next version.....Nick
Back to Top View npavkov's Profile Search for other posts by npavkov
 
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: March 03 2007 at 15:01 | IP Logged Quote npavkov

OK, Dave, I installed the newest version of PH (1.3.4.10). Isn't the command "ph_isdaylightsavings(today())" supposed to be returning a "1" since we are currently in Daylight savings time, or am I misinterpreting DST???
Back to Top View npavkov's Profile Search for other posts by npavkov
 
TonyNo
Moderator Group
Moderator Group
Avatar

Joined: December 05 2001
Location: United States
Online Status: Offline
Posts: 2889
Posted: March 03 2007 at 17:31 | IP Logged Quote TonyNo

Beginning in 2007, most of the United States begins Daylight Saving Time at 2:00 a.m. on the second Sunday in March (3/11/07) and reverts to standard time on the first Sunday in November (11/4/07).
Back to Top View TonyNo's Profile Search for other posts by TonyNo Visit TonyNo's Homepage
 
npavkov
Groupie
Groupie


Joined: February 29 2004
Location: United States
Online Status: Offline
Posts: 91
Posted: March 09 2007 at 21:15 | IP Logged Quote npavkov

does the command "ph_isdaylightsavings(today())" take into account that DST starts at 2 am? at 1:59 am will PH recongnize that DST has not started yet? The parameter "today" seems to imply a date, not a time. Will DST actually start in PH at 2AM on March 11????
Back to Top View npavkov's Profile Search for other posts by npavkov
 

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