the date is like this :12/07/2009 7:30:45 PM
now i need to format the date like this
Nov 11, 2009 7:30AM how can i achive this one thank you
Try:
Eval("CreatedDate", "{0:MMM dd, yyyy hh:mm tt}")
Taken from: http://msdn.microsoft.com/en-us/library/8kb3ddd4.aspx
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With