I changed hh:mm:ss to HH:mm:ss and it worked fine. I looked at what was the cause and it seems 'h' is used for the am/pm hour format and 'H' for the 24-hour format.
Thanks newbie.
Type: Posts; User: Endor
I changed hh:mm:ss to HH:mm:ss and it worked fine. I looked at what was the cause and it seems 'h' is used for the am/pm hour format and 'H' for the 24-hour format.
Thanks newbie.
Hi,
I'm having a problem with this method and I can't see what I'm doing wrong :(
import java.util.Date;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import...