TimeSpan.Compose

Syntax

Compose(

Days: Integer;

Hours: Integer;

Minutes: Integer;

Seconds: Integer;

Milliseconds: Integer): TimeSpan;

Parameters

Days. The number of days in interval.

Hours. The number of hours in interval.

Minutes. The number of minutes in interval.

Seconds. The number of seconds in interval.

Milliseconds. The number of milliseconds in interval.

Description

The Compose method creates a date and time value from the specified input parameters.

Example

The property use is given in the example for the TimeSpan.Hours property.

See also:

TimeSpan