0

I have a datetime column that has data as this:

Appt_DateTime  (datetime, not null)`
12/30/1899   7:50:00PM

I want to display only the time in this case the 7:50:pm. it can be with or without the seconds, better without them.

How can I do this in a select?

Reper Loste
  • 21
  • 1
  • 6

1 Answers1

0

You may try this by using something like

Select   cast(<your column name> as time) [time] from <your table>
mhasan
  • 3,703
  • 1
  • 18
  • 37