
-----------------------------------
Homer_simpson
Wed Aug 20, 2003 12:46 am

date/time
-----------------------------------
how can insert current time and date into 2 strings?

-----------------------------------
PaddyLong
Wed Aug 20, 2003 12:23 pm


-----------------------------------
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)

-----------------------------------
Homer_simpson
Wed Aug 20, 2003 1:03 pm


-----------------------------------
alright... thx
