B4X:
DateTime.DateFormat="dd-MM-yyyy"
datedone = DateTime.DateParse(tmpstr2)
hi i m using this code to parse the date string tmpstr2 , this = 17-05-2006
but i get this error in the log ,
java.time.format.DateTimeParseException: Text '17-05-2006' could not be parsed at index 0
what am i missing?