I have a gridview column, where I need to display time in format :
3/2/2012 1:22 PM
but my Db saves as
3/2/2012 1:22:42 PM
I want to remove seconds from this text. I can remove it using (MM/DD/YYYY HH:MM:SS) but how do i include the AM/PM from db column ?
The format should be (‘MM/DD/YYYY HH:MM AM’)