StartTime Property (AProgram)

Returns the time that the program started.

Syntax

 [ dateStart = ] Object.StartTime

The StartTime property syntax has the following parts:

 

Name

Type

Description

Object

AProgram

AProgram object

dateStart

DateTime

A floating number (Double) integer specifying the time that the program started.

Example

The following code fragment from the OnInit event of the program aborts the application if the program is starting after a hard deadline:

if Program.StartTime > m_dtmDeadline

print "*** Program "; Program.Name; " failed to start before deadline ***"

Abort

endif

Applies to

AProgram

See Also

ElapsedTime, EndTime