Description | Example | Return Message | Group

GetTimePeriod

Return the current scenario time period or the start and stop times for a vehicle.

Syntax

GetTimePeriod <ObjectPath>

Description

The GetTimePeriod command returns the "<StartTime>" and "<StopTime>" in Connect Date units.

Example

To request the time period of Aircraft1:

GetTimePeriod */Aircraft/Aircraft1

To request the time period of the current scenario:

GetTimePeriod *

ReturnMessage

Connect returns the following message for the GetTimePeriod command:
ACK
"1 Jun 2004 12:00:00.000", "2 Jun 2004 12:00:00.000"

Group Membership

This command belongs to the following group(s):

Scenarios

Vehicles

Version

4.0

STK Programming Interface 11.0.1