RE: [PHP-WIN] Date problem
| From: | Mikael Krogius \(Winwap Technologies\) | Date: | Wed, 20 Sep 2006 08:51:55 +0000 |
| Subject: | RE: [PHP-WIN] Date problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27161@lists.php.net to get a copy of this message | ||
> -----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