Parse(Value: String): TimeSpan;
Value. The value that must be converted into the TimeSpan type.
The Parse method converts a string value into the TimeSpan type.
The value passed by the Value parameter must have the following format: "<Number of days>.<Number of hours>:<Number of minutes>:<Number of seconds>.<Number of milliseconds>".
Sub UserProc;
Var
t: TimeSpan;
Begin
t := TimeSpan.Parse("0.00:01:00.000");
End Sub UserProc;
After executing the example the "t" variable contains the time interval obtained by converting from the specified character value.
See also: