Home > database >  In PB how to read with the date of the Delphi written into the database
In PB how to read with the date of the Delphi written into the database

Time:10-06

In the database, this field is an integer type, processing the data of company is: Dephi TDate data type integer part, then how can I read out the data to pb, the date format for pb type.

CodePudding user response:

Since this is an integer, then read it out is integer, impossible to date

CodePudding user response:

Read how to convert the format of the date after ah, what is the function can be achieved?

CodePudding user response:

Can use first string () into a string of basic is a string (data, "yyyy - mm - dd")
Then use the date () or a datetime () it is ok to

If the date format is correct

CodePudding user response:

No ah, I see the inside of the data is 39083, this transformation is no good.
  • Related