time format in php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
awais786
Forum Newbie
Posts: 3
Joined: Wed Nov 19, 2008 3:28 am

time format in php

Post 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
User avatar
Eran
DevNet Master
Posts: 3549
Joined: Fri Jan 18, 2008 12:36 am
Location: Israel, ME

Re: time format in php

Post by Eran »

http://www.php.net/date

You have a full listing of formatting options there
Post Reply