My graphing application works fine, except when the user wants to graph more than 30 days worth of data to display... ( PHP runs out of memory )
If allowed dates include all 365 days in 2008, and the user selects Jan 1 as the starting date, how can I ensure that the date-ending calandar ( a second calandar object ) has every dated after Jan 31, 2008 dis-allowed ?
How can I set : 'maxdate': 01/31/2008' progrmatically for the second calendar when the user selects a starting date in the first calendar ?
I am currently using the softcomplex.com supplied date-range function...
Hello All You Tigra Calendar Enthusiasts,
My help-desk ticket was answered in a timely manner.
I was defining my maxdate parm as an integer:
twoWeeksFromNow = AOR1SingleStart.TC0L.valueOf() + (14 * 864e5);
They said I had to define it as a date...
twoWeeksFromNow = new Date(AOR1SingleStart.TC0L.valueOf() + (14 * 864e5));
I then pass that value, and the second date range cal maxdate is equal to two weeks out from whatever the user selected as thier starting date !
AOR1SingleEnd.TC0F = twoWeeksFromNow;
Worked like a champ.
Thanks Tigra Admin.
Scot L. Diddle, Richmond VA