Hello friends
When I make a date query to a database, the day that appears is January 15, 2021 (2021-01-15). View image.
When I make this query for this date in B4A it corresponds to the number: 1610668800000
This date is then converted to text and shows that it corresponds to a day before (2021-01-14)
Why is this happening, why is this error?
Note: jRCD2 connection to a Microsoft SQL Server database on an Ubuntu server.
When I make a date query to a database, the day that appears is January 15, 2021 (2021-01-15). View image.
When I make this query for this date in B4A it corresponds to the number: 1610668800000
This date is then converted to text and shows that it corresponds to a day before (2021-01-14)
B4X:
FechaExp = records(result.Columns.Get("FechaExp"))
DateTime.DateFormat = "MM/dd/yyyy"
FechaTexto = DateTime.Date(FechaExp)
Why is this happening, why is this error?
Note: jRCD2 connection to a Microsoft SQL Server database on an Ubuntu server.