Page 1 of 1

Dat and Time

PostPosted: Sun Jan 31, 2010 5:12 pm
by Matjan
Hi Chris!

Thank you for this amazing script! It's been very useful for us! After we've finished I'll share a link to let you see what we've done!

I've gt one question:

Where does the script get the info about the time and the date? I've tried to set the system clock one year ahead (2011), but the calender kept showing 2010.



Re: Dat and Time

PostPosted: Sun Jan 31, 2010 7:57 pm
by chris
Thanks for the comments :)

The script uses the php date() function. However, I am surprised that it doesn't reflect the changes you have made on your server.

You can adjust the initial settings for the calendar by changing the following lines:

Code: Select all

So, to adjust it to show one year in the future you could do this:
Code: Select all

I hope this points you in the right direction.


Re: Dat and Time

PostPosted: Mon Feb 01, 2010 12:41 pm
by Matjan
Thank you for your reply:D

The reason why I asked you about the time and date is because in the calendar, today is marked. But this day (february first) is checked too in 2011, 2012 and so on.... I'm trying to change this, but I don't know how...