I'm developing an application with B4A which connects to an MS SQL Server database using jRDC2
I get the date of the database (Type String)
I get an error with this code:
I need to perform this type of operation using the Type DateTime
How is it possible to convert my date from type String to DateTime?
Thank you very much for your valuable help.
I get the date of the database (Type String)
B4X:
Main.DateServer = records (result.Columns.Get ("DateServer"))
B4X:
Dim Month As String = DateTime.GetMonth (Main.DateServer)
B4X:
Dim Month As String = DateTime.GetMonth (DateTime.Now)
How is it possible to convert my date from type String to DateTime?
Thank you very much for your valuable help.