Topic: String to Datetime

hello Dmitiry...
i am Retrieving data from mssql database as strings including DateTime(Completed_TS) and inserting data in sqlite database...
how to change Datetime(string) to SQLDateTime...

Post's attachments

Attachment icon aa.JPG 126.96 kb, 2 downloads since 2019-11-07 

Re: String to Datetime

Hello.


if rs.Fields['Completed_TS'] <> '' then DateTime := SQLDateTimeToDateTime (rs.Fields['Completed_TS']); 
Dmitry.