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


ITime.SetFromGregorianTime Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IT > ITime Interface > ITime.SetFromGregorianTime Method
ArcGIS Developer Help

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