ArcObjects Library Reference (TrackingAnalyst)  

ITemporalOperator2.SetDateTime Method

Sets the value for date and time information.

[Visual Basic .NET]
Public Sub SetDateTime ( _
    ByVal lYear As Integer, _
    ByVal lMonth As Short, _
    ByVal lDayOfMonth As Short, _
    ByVal lHour As Short, _
    ByVal lMinute As Short, _
    ByVal lSecond As Short, _
    ByVal lMillisecond As Short _
)
[C#]
public void SetDateTime (
    int lYear,
    short lMonth,
    short lDayOfMonth,
    short lHour,
    short lMinute,
    short lSecond,
    short lMillisecond
);
[C++]
HRESULT SetDateTime(
  long lYear,
  short lMonth,
  short lDayOfMonth,
  short lHour,
  short lMinute,
  short lSecond,
  short lMillisecond
);
[C++]

Parameters

lYear [in]   lYear is a parameter of type long lMonth [in]   lMonth is a parameter of type short lDayOfMonth [in]   lDayOfMonth is a parameter of type short lHour [in]   lHour is a parameter of type short lMinute [in]   lMinute is a parameter of type short lSecond [in]   lSecond is a parameter of type short lMillisecond [in]   lMillisecond is a parameter of type short

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Tracking Analyst Extension.

See Also

ITemporalOperator2 Interface