I need to calculate the time (period) a student spends reading an eBook.
In the Main Module I have a Process_Global variable:
When the eBook loads, I save to MyBookStart variable:
and receive this Error:
In the Main Module I have a Process_Global variable:
B4X:
Dim MyBookStart As Long
B4X:
DateTime.DateFormat = "dd-MM-yyyy HH:MM:ss"
Main.MyBookStart = DateTime.Date(DateTime.Now)
B4X:
java.lang.NumberFormatException: Invalid double: "03-09-2016 19:09:57"