Convert string to date/time, returning a default value.
Source position: datih.inc line 189
function StrToDateTimeDef( |
const S: ShortString; |
const Defvalue: TDateTime |
):TDateTime; |
const S: string; |
const Defvalue: TDateTime |
):TDateTime; |
const S: string; |
const Defvalue: TDateTime; |
const FormatSettings: TFormatSettings |
):TDateTime; |
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.
None.
|
Convert string to time, returning a default value. |
|
|
Convert string to date, returning a default value. |
|
|
Try to convert a string with date/time indication to a TDateTime value. |
|
|
Convert a date/time string to a TDateTime value. |