[PHP] convert timestamp to time?

2001-08-26 Thread nafiseh saberi
hi. 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.??? thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL

RE: [PHP] convert timestamp to time?

2001-08-26 Thread Dave
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.??? nope if $p is already a unix timestamp (as per your output) I don't know why you are