Spacecraft.ElapsedHoursFromEpoch(Variable) Method

Top 

Description

Returns the number of hours between a user-specified epoch and the current Spacecraft epoch.

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode.

 

Method Signature

Spacecraft.ElapsedHoursFromEpoch(

Variable referenceEpoch)

 

 

Arguments

referenceEpoch


Description:

Base epoch to measure elapsed hours, which can be either a value or a Variable. The base epoch is in TAI Modified Julian Time format, from which the elapsed hours are measured.

 

 

 

Return Value

Type:

number

Units:

hr

 

 

Returns the number of hours between a user-specified epoch and the current Spacecraft epoch.

 

Syntax

myVariable1 = mySpacecraft1.ElapsedHoursFromEpoch(myVariable2);

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide