0

I am having a field like this in my database table Jan 1 1900 10:22PM . I am getting it out like this result.setEndingDate(rs.getDate("end_tm")); . when i do an sysout the output is displayed in the console as 1900-01-01 . What can i do to get Time stamp and also to conver it into 24 hour format .My output String String should be somehting like this 22:10 . how can i proceed to achieve this

Praveen
  • 225
  • 1
  • 4
  • 18

0 Answers0