AGI GPS 6 Send comments on this topic.
Date Method (IAgAsGPSSatSelectPluginResultEval)
See Also 
Scale
Requested time scale
Year
Value of Year, in requested time scale, of the current time
DayOfYear
The number of days into the year, in requested time scale, of the current time
Month
Value of Month, in requested time scale, of the current time (0-11)
Hour
Value of Hour, in requested time scale, of the current time (0-23)
Minute
Value of Minute, in requested time scale, of the current time (0-59)
Seconds
Value of Seconds, in requested time scale, of the current time (0.0-60)
Windows








Description

DEPRECATED. Use DateElements instead. Current epoch in requested time scale expressed in date format.

Syntax

[Visual Basic .NET]
Public Sub Date( _
   ByVal Scale As AgEUtTimeScale, _
   ByRef Year As Integer, _
   ByRef DayOfYear As Integer, _
   ByRef Month As Integer, _
   ByRef Hour As Integer, _
   ByRef Minute As Integer, _
   ByRef Seconds As Double _
) 

[C#]
public void Date(
AgEUtTimeScale Scale,
ref int Year,
ref int DayOfYear,
ref int Month,
ref int Hour,
ref int Minute,
ref double Seconds
);

[Managed C++]
public: void Date(
AgEUtTimeScale Scale,
int ^ Year,
int ^ DayOfYear,
int ^ Month,
int ^ Hour,
int ^ Minute,
double ^ Seconds
);

[Unmanaged C++]
public: HRESULT Date(
AgEUtTimeScale Scale,
long * Year,
long * DayOfYear,
long * Month,
long * Hour,
long * Minute,
double * Seconds
);

[VBScript]
Date not supported by VBScript (VBScript does not support ByRef arguments in COM)

[Perl]
$objectReference->Date(
$Scale, # type AgEUtTimeScale (scalar integer)
$Year, # type Variant (VT_I4 | VT_BYREF)
$DayOfYear, # type Variant (VT_I4 | VT_BYREF)
$Month, # type Variant (VT_I4 | VT_BYREF)
$Hour, # type Variant (VT_I4 | VT_BYREF)
$Minute, # type Variant (VT_I4 | VT_BYREF)
$Seconds# type Variant (VT_R8 | VT_BYREF)
);

Parameters

Scale
Member Value Description
eUtTimeScaleUTC 0  
eUtTimeScaleTAI 1  
eUtTimeScaleTDT 2  
eUtTimeScaleUT1 3  
eUtTimeScaleSTKEpochSec 4  
eUtTimeScaleTDB 5  
eUtTimeScaleGPS 6  
Requested time scale
Year
Value of Year, in requested time scale, of the current time
DayOfYear
The number of days into the year, in requested time scale, of the current time
Month
Value of Month, in requested time scale, of the current time (0-11)
Hour
Value of Hour, in requested time scale, of the current time (0-23)
Minute
Value of Minute, in requested time scale, of the current time (0-59)
Seconds
Value of Seconds, in requested time scale, of the current time (0.0-60)

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5