Please enable JavaScript to view this site.

Codolex

The date time from activity converts a string to a date time with the current local date/time format.

Uses System.SysUtils.StrToDateTime

 

DateTimeFrom

Activity properties

 

begin

var Variable: TDateTime;

 Variable := StrToDateTime(FormatedDate, FormatSettings);

end;

Resulting code

 

Format settings can be used to deviate from the current local date/time format.

Variable type: TFormatSettings

© by GDK Software