Date/Time format question

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

Guest

Hi, All
I need to convert short time to long time and display it w/o seconds
I don't want to use this -> FormatDateTime(dt, DateFormat.LongTime)
it return seconds
here is example:
dt.ToString("MM/dd/yyyy HH:mm") it displays short time
Is it possible to display long time w/o seconds
dt.ToString("hh:mm ...PM/AM ?")
i need result something like - 01:35 PM

Please, advise
 
Back
Top