|
Posted by Kimmo Laine on 11/27/06 11:13
"Curtis" <dyer85@gmail.com> wrote in message
news:1164624374.849218.149770@14g2000cws.googlegroups.com...
> Exactly! Kimmo Laine makes a good point
>
> However, the correct argument order for mktime is the following (from
> php.net manual):
> int mktime ( [int hour [, int minute [, int second [, int month [,
> int day [, int year [, int is_dst]]]]]]] )
>
> So, the mktime argument order should be:
> $timestamp = mktime(0, 0, 0, $m, $d, $y);
Whoops, I had the parameters wrong too. Thanks for corecting it, Curtis. :)
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk
http://outolempi.net/ahdistus/ - Satunnaisesti pδivittyvδ nettisarjis
spam@outolempi.net | rot13(xvzzb@bhgbyrzcv.arg)
Navigation:
[Reply to this message]
|