Im keep getting:
java.text.ParseException: Unparseable date: "// 00:00:00" (at offset 0)
please help
java.text.ParseException: Unparseable date: "// 00:00:00" (at offset 0)
B4X:
Dim YearDay As String
Dim YearMonth As String
Dim YearYear As String
YearDay = rdINI(File.DirRootExternal, "wifesize.ini", "SESSION 2", "yearday", "")
YearMonth = rdINI(File.DirRootExternal, "wifesize.ini", "SESSION 2", "yearmonth", "")
YearYear = rdINI(File.DirRootExternal, "wifesize.ini", "SESSION 2", "yearyear", "")
DateTime.DateFormat = "MM/dd/yyyy HH:mm:ss"
Dim UTC_TS As Long
UTC_TS = DateTime.DateParse(YearMonth & "/" & YearDay & "/" & YearYear & " 00:00:00") - DateTime.DateParse("01/01/1970 00:00:00")
Log("UTC_TS: "&UTC_TS)
please help