Date:
D - displays the day of the week. ex: Mon
d - displays the number of the day. ex: 02
M - displays the month abreviation. ex: Jan
m - displays the number of the month. ex: 01
Y - displays the year. ex: 2011
y - displays the two last numbers of the year. ex: 11
Time:
H - displays the hours in a 24 hours clock. ex: 23
h - displays the hours in a 12 hours clock. ex: 11
I - nothing to quote.
i - displays the minutes.
S - nothing to quote.
s - displays the seconds.
ok, i got it working, but the clock is freezed of course.. is there any way to do something like being always refreshing the page so the seconds are always correct and flowing?
it's works bur i also get a error can some one help plz?
Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Paris' for '2.0/DST' instead in C:\xampp\htdocs\test2.php on line 3
13.10.2010