Dat and Time

Dat and Time

Postby Matjan » Sun Jan 31, 2010 5:12 pm

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.


Posts: 3
Joined: Sat Jan 30, 2010 7:15 pm

Re: Dat and Time

Postby chris » Sun Jan 31, 2010 7:57 pm

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.

User avatar
Site Admin
Posts: 1089
Joined: Mon Dec 17, 2007 7:42 pm
Location: Málaga, Spain

Re: Dat and Time

Postby Matjan » Mon Feb 01, 2010 12:41 pm

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...
Posts: 3
Joined: Sat Jan 30, 2010 7:15 pm

Return to General

Who is online

Users browsing this forum: No registered users and 1 guest