Hello...
After a lot of help from you guys, I got a page working that converts a date into the Julian day number (day of the year - eg 01/01/06 would be day number 1, 01/02/06 would be day number 32) see (thread216-1191792)
What I want to do now is create a page that does the opposite.
The user can add a day number (eg, 32 then i want the function to work out the date - eg 01/02) There is an obvious problem with the year, as it may be a leap year. To combat this I thought of having a check box that the user wold tick if the year they were thinking of was a leap year. The function could then use a differant var of leap year days.
However, I am not sure of how to begin... can anyone help ?
thankyou
After a lot of help from you guys, I got a page working that converts a date into the Julian day number (day of the year - eg 01/01/06 would be day number 1, 01/02/06 would be day number 32) see (thread216-1191792)
What I want to do now is create a page that does the opposite.
The user can add a day number (eg, 32 then i want the function to work out the date - eg 01/02) There is an obvious problem with the year, as it may be a leap year. To combat this I thought of having a check box that the user wold tick if the year they were thinking of was a leap year. The function could then use a differant var of leap year days.
However, I am not sure of how to begin... can anyone help ?
thankyou