Re: Newbie question - current date - time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At 9:39 AM -0800 11/14/07, cool7@xxxxxxxxxxxxxxxx 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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux