Android Question When I search for a datetime record from a MySQL table, it returns with one (1) hour less. using JRDC

julio steinert

New Member
Licensed User
Longtime User
Wait For(jRDC.GetRecord("selectdados", Parametros)) Complete (Answer As Map)
If Answer.Get("Success") Then
Dim l As List
Dim rs As DBResult
rs = Answer.Get("Data")
l = rs.Rows
If l.Size > 0 Then 'We get a result

For Each row() As Object In l
Dim HORA, MINUTO As Int
HORA = DateTime.GetHour(row(10))
MINUTO = DateTime.GetMinute(row(10))
 

MicroDrie

Well-Known Member
Licensed User
Longtime User
You can check the current time zones in MySQL as follows:

SELECT @@global.time_zone, @@session.time_zone;
 
Upvote 0
Top