Icon TimeToAnsiStr Method

AnsiString __fastcall TimeToAnsiStr(System::TDateTime Value,
      bool MilitaryTime)

Usage

Use the TimeToAnsiStr method to convert a TDateTime value to an ANSI-formatted time value string. All SQL and filter expressions in DBISAM require ANSI-formatted time values, which use the 'hh:mm:ss.zzz am/pm' format.
Image