Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Function not working, jddayofweek(), how about you?

Status
Not open for further replies.

queuebert

IS-IT--Management
Feb 18, 2003
28
JP
A user of our web server is trying to implement a calendar that makes use of a function called jddayofweek(), and when I try to use it, I am given the feedback that it isn't a known function. I did some browsing in the PHP manual to make sure it even existed, and it does, and says it's been implemented since version 3. However, I read in the user notes that the function hasn't worked since (at least) version 4.3.0, but couldn't find any documented information in regards to this.

My question is, does anybody who has PHP 4.3.0 or later have the ability to use the jddayofweek() function, or know anything about its status in later versions?

Thanks,
Sean
 
I believe that your PHP doesn't have the calendar extension compiled. The PHP manual says:
To get these functions to work, you have to compile PHP with --enable-calendar.
Look at phpinfo() to see what modules were compiled.
 
Ahhh, you seem to be right. Thanks very much!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top