I work with Java dates, I can not get out of this problem. In my file, the value of Time is saved as (HH: MM: SS)
00:00:08 below is the code and output.
String timeinsec = "00:00:08"; DateFormat df = new SimpleDateFormat("hh:mm:ss"); Date time = df.parse(timeinsec);
What happened when I assigned variable values ββand time. time.fastTime variable show "-17992000"
when I convert this value to HH: MM: SS shows me. "-4: -59: -51"
Anyone can help fix TimeZone problem. Current time zone: GMT + 5
source share