Check out "date" function. <? echo date("r", time()); ?> Prints out nice local time, what you need can be made by changing the "r" option. Have a look at the manual for alternatives to "r" liek Y for year, etc... so far ----- Ursprüngliche Nachricht ----- Von: "cool7@xxxxxxxxxxxxxxxx" <cool7@xxxxxxxxxxxxxxxx> Datum: Donnerstag, November 15, 2007 6:40 am Betreff: Newbie question - current date - time An: php-general@xxxxxxxxxxxxx > Hi Folks, > > Newbie question : > > - how do I get and display the current date? > - how do I get and display the current time? > > I see the getdate function - but I'm not sure if this is the right > functionor how to display it.... > > http://www.php.net/manual/en/function.getdate.php > > -- > Thanks - RevDave > Cool @ hosting4days . com > [db-lists] > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php