If you would like to display the date, you would have to put the echo tag before the date() function as so...
CODE
echo date("g:i:s");
Which would display as the common hours, minutes, seconds format (ex: 3:32:45). But you can also add wheather it is AM or PM, display the day (Sunday thru Monday), the year, pretty much anything that has to do with date.
Here is a chart to explain what each essential(Which means I wont go over all of them) function does...
a - lowercase AM or lowercase PM
A - uppercase AM or uppercase PM
c - ISO 8601 date (PHP 5 only) Would display as: 2005-02-28T16:17:18+00:00
d - day of the month with zeroes (01 thru 31)
D - Name of the day (Mon thru Sun)
F - Displays the month (January thru December)
g - Displays the hour without zeroes (1 thru 12)
G - Displays a 24 hour format w/o zeroes [military time] (0-23)
i - minutes
m - Numeric representation of a month, with leading zeros (01 through 12)
M - A short textual representation of a month, three letters (Jan through Dec)
n - Numeric representation of a month, without leading zeros (1 thru 12)
s - seconds
z - Day of the year (0-365)
T - Timezone
Y - year (4 digit number)
Hope this helps

