StrToDateTimeDef function
Convert string to date/time, returning a default value.
Declaration
function StrToDateTimeDef(const S: ShortString;
const Defvalue: TDateTime): TDateTimeDescription
StrToDateTimeDef tries to convert the string
S to a valid
TDateTime date and time value, and returns
DefValue if
S does not contain a valid date-time indication.Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
