NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Calendar.ToDateTime (Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Returns the date and time converted to a DateTime value.

[Visual Basic]
Overloads MustOverride Public Function ToDateTime( _
   ByVal year As Integer, _
   ByVal month As Integer, _
   ByVal day As Integer, _
   ByVal hour As Integer, _
   ByVal minute As Integer, _
   ByVal second As Integer, _
   ByVal millisecond As Integer, _
   ByVal era As Integer _
) As DateTime
[C#]
public abstract DateTime ToDateTime(
   int year,
   int month,
   int day,
   int hour,
   int minute,
   int second,
   int millisecond,
   int era
);
[C++]
public: virtual DateTime ToDateTime(
   int year,
   int month,
   int day,
   int hour,
   int minute,
   int second,
   int millisecond,
   int era
) = 0;
[JScript]
public abstract function ToDateTime(
   year : int,
   month : int,
   day : int,
   hour : int,
   minute : int,
   second : int,
   millisecond : int,
   era : int
) : DateTime;

Parameters

year
The year.
month
The month.
day
The day.
hour
The hour.
minute
The minute.
second
The second.
millisecond
The millisecond.
era
The era.

Return Value

The constructed DateTime [RB42] instance for the specified time.

See Also

Calendar Class | Calendar Members | System.Globalization Namespace | Calendar.ToDateTime Overload List