SOLVED: Fwd: [PHP-WIN] Date problem

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

 



Thank you all. Sorry Mikael, i answered you instead to the mailing list. :/

---------- Forwarded message ----------
From: German Piqué <extremdur2@xxxxxxxxx>
Date: 20-sep-2006 11:14
Subject: Re:  Date problem
To: krogius@xxxxxxxxxx

It works! Thnks...

BTW, why the other solution doesn't work? Isn't it the same?


2006/9/20, German Piqué <extremdur2@xxxxxxxxx>:

mmm, no, i will give it a try, thnks!! :)

2006/9/20, Mikael Krogius (Winwap Technologies) <krogius@xxxxxxxxxx>:

> > -----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