I am trying to format a custom attribute to display the time only ex) 12:00 AM
Currently it displays as the entire date ex) 7/25/2008 12:00:00 AM
I am using the following Eval in the Appointment Template, but it is not displaying correctly. This is a date/time field from a SqlDataSource. Is this possible?
Currently it displays as the entire date ex) 7/25/2008 12:00:00 AM
I am using the following Eval in the Appointment Template, but it is not displaying correctly. This is a date/time field from a SqlDataSource. Is this possible?
<%
#Eval("Attributes['Time']", "{0:t}")%>
Thanks for any assistance.