* * *

Author Topic: StrToDateTime covert error ..  (Read 1103 times)

Almir.Bispo

  • Jr. Member
  • **
  • Posts: 54
  • CSV Comp DB is the Best NoSQL
    • CSV Comp DB (NoSQL)
Re: StrToDateTime covert error ..
« Reply #15 on: August 06, 2017, 10:38:13 pm »
Try it:
Code: Pascal  [Select]
  1. var  dt:Tdatetime;
  2. begin
  3. s:= '12/12/2017.r';
  4. dt:=StrToDateTime( copy( s,1, length(s)-2 ) ); //like get [12/12/2017].r  (except de '.r')
  5.  end;
  6.  
CSV Comp DB Developer {Pascal Lover}

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus