Page 1 of 1

time format in php

Posted: Wed Nov 19, 2008 6:44 am
by awais786
hi all

i have this 11:10:00 time now i wana show on page like hrs and mins only like this 11:22 (am).

can any one suggest a which format should i use.

Thanks
aq

Re: time format in php

Posted: Wed Nov 19, 2008 7:00 am
by Eran
http://www.php.net/date

You have a full listing of formatting options there