GetDuration Method

Returns the duration for the current object.

Syntax

object.GetDuration days, hours, minutes, seconds

Properties

The GetDuration method syntax has these parts:

Part

Description

object

An object expression that evaluates to an object in the Applies To list.

days

Long. Returns the days portion of the duration time.

hours

Long. Returns the hours portion of the duration time.

minutes

Long. Returns the minutes portion of the duration time.

seconds

Long. Returns the seconds portion of the duration time.

 

Example

Applies To