This document is archived and information here might be outdated.  Recommended version.


ITime.SetFromGregorianTime Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

ITime.SetFromGregorianTime Method

Obtains the time from a given gregorian date and time value.

[Visual Basic .NET]
Public Sub SetFromGregorianTime ( _
    ByRef gregorianTime As WKSDateTime _
)
[C#]
public void SetFromGregorianTime (
    ref WKSDateTime gregorianTime
);
[C++]
HRESULT SetFromGregorianTime(
  WKSDateTime* gregorianTime
);
[C++]

Parameters gregorianTime [in]
gregorianTime is a parameter of type WKSDateTime*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

ITime Interface