SOLVED: Fwd: [PHP-WIN] Date problem

From: Date: Wed, 20 Sep 2006 09:19:31 +0000
Subject: SOLVED: Fwd: [PHP-WIN] Date problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-27162@lists.php.net to get a copy of this message
Thank you all. Sorry Mikael, i answered you instead to the mailing list. :/ ---------- Forwarded message ---------- From: German Piqué <extremdur2@gmail.com> Date: 20-sep-2006 11:14 Subject: Re: [PHP-WIN] Date problem To: krogius@winwap.com It works! Thnks... BTW, why the other solution doesn't work? Isn't it the same? 2006/9/20, German Piqué <extremdur2@gmail.com>:
mmm, no, i will give it a try, thnks!! :) 2006/9/20, Mikael Krogius (Winwap Technologies) <krogius@winwap.com>:
-----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


« previous php.windows (#27162) next »