Forum Moderators: coopster
If you want the time on your server, you don't need the timestamp. Only use a timestamp if your server is not in the same timezone as "local" (for example, you host in California but the site is an event calendar in Miami).
Basically, for local time, use
$date = date("Y-m-d");
for a value such as 2004-11-23.
Alternative formatting exists. For example, use
$date = date("l, F d, Y");
for a value such as Tuesday, November 23, 2004.
See the PHP site for all format charaters:
[php.net...]