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


WKSDateTime Structure (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

WKSDateTime Structure

Holds gregorian date and time.

Syntax

[Visual Basic .NET]
Public Sub New ( _
   Year As Short,
   Month As Short,
   Day As Short,
   Hour As Short,
   Minute As Short,
   Second As Short,
   Nanoseconds As Integer
)
[C#]
public WKSDateTime {
   short Year,
   short Month,
   short Day,
   short Hour,
   short Minute,
   short Second,
   int Nanoseconds
)
[C++]
typedef struct WKSDateTime {
short Year;
short Month;
short Day;
short Hour;
short Minute;
short Second;
long Nanoseconds; } WKSDateTime;

Product Availability

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