I get date in proper format from the database but i get time in improper format i.e 19/10/2010 4:45:00 AM . I want my time to be hh:mm:ss. I am getting only single hour i.e h.
Appending 0 doesnt seem to be a good solution what is an alernative to parse it in expected format i.e hh:mm:ss?
I get date in proper format from the database but i get time in
Share
Did you try:
The uppercase “HH” indicates the 24-hour formatting…