On Nov 14, 2007 12:39 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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
> Cool @ hosting4days . com
> [db-lists]
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

<?
$current_date = date("d/m/Y");
$current_time = date("H:i:s");
?>

http://www.php.net/date


-- 
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

If at first you don't succeed, stick to what you know best so that you
can make enough money to pay someone else to do it for you.

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

Reply via email to