>I write:
>$m=date("H:i:s");  ---->10:34:33
>$p=echo time($m);  ------>998805674
>date("h:i:s",mktime($p)); ----->12:34:33
>my problem is the difference between first and third time that should
>be the same.???


if $p is already a unix timestamp (as per your output) I don't know why you are
processing it again with mktime.
        $m=date("H:i:s");  ---->10:34:33
        $p=echo time($m);  ------>998805674


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to