Spacecraft.ElapsedDaysFromEpoch(Variable) Method

Top 

Description

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

 

Timing Precision Mode

This page describes functionality in millisecond timing precision mode. Millisecond timing precision mode is deprecated and will be removed in a future release. We recommend that you migrate your Mission Plans to nanosecond timing precision mode.

 

Method Signature

Spacecraft.ElapsedDaysFromEpoch(

Variable referenceEpoch)

 

 

Arguments

referenceEpoch


Description:

The base epoch, in TAI Modified Julian Time format, from which to measure elapsed days.

 

 

 

Return Value

Type:

number

Units:

day

 

 

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

 

Syntax

myVariable1 = mySpacecraft1.ElapsedDaysFromEpoch(myVariable2);

 

 

See also

Spacecraft Object

Spacecraft Propagation Guide

Coverage and Contact Analysis Guide