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


ITime.SetFromGregorianTime Method (ArcObjects .NET 10.5 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