Icon TimeToAnsiStr Method

function TimeToAnsiStr(Value: TDateTime; MilitaryTime: Boolean):
      String

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