AGI GPS 6 Send comments on this topic.
DateElements_Array Method (IAgAsGPSSatSelectPluginResultEval)
See Also 
Scale
Windows








Description

Current epoch in requested time scale expressed in date format returned as the array: Year [yyyy], DayOfYear [1-366], Month [1-12], DayOfMonth [1-31], Hour [0-23], Minute [0-59], Seconds [0-60]. Useful for scripting clients.

Syntax

[Visual Basic .NET]
Public Function DateElements_Array( _
   ByVal Scale As AgEUtTimeScale _
) As System.Array

[C#]
public System.Array DateElements_Array(
AgEUtTimeScale Scale
);

[Managed C++]
public: System::Array DateElements_Array(
AgEUtTimeScale Scale
);

[Unmanaged C++]
public: HRESULT DateElements_Array(
AgEUtTimeScale Scale,
SAFEARRAY ** Array
);

[VBScript]
'Function object.DateElements_Array(...)  returns an array
' Scale is type AgEUtTimeScale (an integer)
result = object.DateElements_Array(Scale)

[Perl]
$return_value = $objectReference->DateElements_Array(# $return_value is an array reference
$Scale# type AgEUtTimeScale (scalar integer)
);

Parameters

Scale
Member Value Description
eUtTimeScaleUTC 0  
eUtTimeScaleTAI 1  
eUtTimeScaleTDT 2  
eUtTimeScaleUT1 3  
eUtTimeScaleSTKEpochSec 4  
eUtTimeScaleTDB 5  
eUtTimeScaleGPS 6  

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5