Hi All
I am trying to get the server time of my MySQL server into my program. I used the code
to check and it returned at these 2 times
It seems like the last digits are in HEX but I do not know how to convert that to normal time
I tried the same query on phpMyAdmin and I get the following result
Please can someone assist. I have searched the forums and could not find any reference to a question like this
Thank you
I am trying to get the server time of my MySQL server into my program. I used the code
B4X:
Log(sql2.ExecQuery("SELECT CURTIME()"))
5:24 pm (JDBC42ResultSet) com.mysql.jdbc.JDBC42ResultSet@42610720
5:26 pm (JDBC42ResultSet) com.mysql.jdbc.JDBC42ResultSet@4a4dbb70
It seems like the last digits are in HEX but I do not know how to convert that to normal time
I tried the same query on phpMyAdmin and I get the following result
Which is correct.CURTIME()15:53:58
Please can someone assist. I have searched the forums and could not find any reference to a question like this
Thank you