Date/Time Format

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I use the following expression

DataBinder.Eval(Container.DataItem,"PM_CUTOFF_PERIOD", "{0:MM/dd/yyyy HH:mm tt}"

It displays my date and time as follows
05/18/2004 14:00 P

How do I get it to show me 2:00 PM instead of 14:00 PM?
 
Back
Top