How to know the time coming form databse is in 'am' or 'pm'?
Posted: Mon Apr 06, 2009 5:39 am
Hi,
i used to store joing date in datetime fromate in mysql. i want to fetch this field and show it in frontend like 2 april 2009 01:07 am or 2 april 2009 01:07 pm. Can anyone give me soloution how i can know that the time is in am or pm???
Thanks in advance.....
Rishikesh
i used to store joing date in datetime fromate in mysql. i want to fetch this field and show it in frontend like 2 april 2009 01:07 am or 2 april 2009 01:07 pm. Can anyone give me soloution how i can know that the time is in am or pm???
Thanks in advance.....
Rishikesh