LaunchDate Property

CurrentTask  Example

 

Specifies the date the task is next scheduled to launch.

 

Declaration

Dim LaunchDate As Variant

 

Description

Use the LaunchDate property to retrieve or set the date the task is scheduled to launch. The property is set when the task begins execution. The date format must follow the format set in Regional Settings. The new LaunchDate is set when the task finishes executing.

 

To view the format required for your regional settings, view Regional Settings from the Control Panel. Click the “Date” tab and note the “Short Date Format.” This is the format that AutoMate™ expects.

 

NOTE: Be careful when changing the LaunchDate of a task that uses the Schedule trigger. Because the LaunchDate is set when the task starts executing, the schedule trigger may change the date on you while the task is executing. Therefore, use caution when adjusting the LaunchDate relative to its initial value.