Here is the DataFormatString for date as 02-Jan-2009 02:10 PM in gridview in asp.net
<asp:boundfield headertext="C.I. Date & Time" datafield="checkin_datetime" htmlencode="false" dataformatstring="{0: dd-MMM-yyyy hh:mm tt}" />
-::HTH::-
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment