Duration property



The duration of the task, in seconds.

Syntax

Set:     Task.setDuration(iSecs)
Get:     iSecs = Task.getDuration()

Applies to

Task object.

Data type

long. The iSecs value is a long that specifies the duration of the task, in seconds.

Usage

This property specifies the duration of the task, in seconds.