Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

PHP Calendar functions

  • 30-10-2001 12:00pm
    #1
    Registered Users, Registered Users 2 Posts: 14,149 ✭✭✭✭


    Hey folks. I'm having a slight problem with calendar functions under PHP4

    In particular the jddayofweek() & jdmonthname() functions as stated under the PHP documentation.

    Taking jddayofweek() as my problem arguement, the documentation states:

    JDDayOfWeek -- Returns the day of the week
    Description

    mixed jddayofweek (int julianday, int mode)

    Returns the day of the week. Can return a string or an int depending on the mode.
    etc etc etc


    Firstly, whenever I try to run the php script, I get the following error:

    Fatal error: Call to undefined function: jddayofweek()


    Secondly, the first parameter passed into the function is confusing the HELL out of me. I can find no reference to it anywhere. what is the significance of said integer. The "mode" integer variable is explained in the documentation for the function but not the "julianday" one.

    Any help would be greatly appreciated boys n'girls :)


Advertisement