Computer Science Canada

date/time

Author:  Homer_simpson [ Wed Aug 20, 2003 12:46 am ]
Post subject:  date/time

how can insert current time and date into 2 strings?

Author:  PaddyLong [ Wed Aug 20, 2003 12:23 pm ]
Post subject: 

look at the date() function ...
http://ca.php.net/manual/en/function.date.php

it would be something like

$time = date("g:ia");
$date = date("l, F j Y");

(note the first character in the $date thing is a lower case L)

Author:  Homer_simpson [ Wed Aug 20, 2003 1:03 pm ]
Post subject: 

alright... thx


: