TryStrToDateTimeFmt Method

Definition

Converts a string to a TDateTime value using the specified format, with a Boolean success code.

Delphi
function TryStrToDateTimeFmt(const s: string; const format: string; out value: TDateTime): Boolean

Parameters

s
string
format
string
value
TDateTime

Returns

Boolean