RE: Date problem

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

 



> -----Original Message-----
> From: German Piqué
>
> $now = getdate();
>       $stringNow = $now["year"] . $now["month"] . $now["mday"] . " - "
> /*$now["hours"] . ":" . $now["minutes"] . ":" . $now["seconds"]*/;

Have you tried doing something like this:

$stringNow = date('Ymd').' - '.date('H:i:s');

- Mikael

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



[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux