Re: Newbie question - current date - time

From: Date: Wed, 14 Nov 2007 18:10:48 +0000
Subject: Re: Newbie question - current date - time
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-264506@lists.php.net to get a copy of this message
At 9:39 AM -0800 11/14/07, cool7@hosting4days.com wrote:
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 function or how to display it.... http://www.php.net/manual/en/function.getdate.php -- Thanks - RevDave
Current date/time for whom? For your server, use php's date(). For the user, use javascript's date(). It's so cool to be multilingual. :-) Cheers, tedd -- ------- http://sperling.com http://ancientstones.com http://earthstones.com

« previous php.general (#264506) next »