Recent

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

Almir.Bispo

  • Jr. Member
  • **
  • Posts: 91
  • 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}

 

TinyPortal © 2005-2018