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.ToFourDigitYear

Converts the specified year to the appropriate century by using the TwoDigitYearMax property.

[Visual Basic]
Overridable Public Function ToFourDigitYear( _
   ByVal year As Integer _
) As Integer
[C#]
public virtual int ToFourDigitYear(
   int year
);
[C++]
public: virtual int ToFourDigitYear(
   int year
);
[JScript]
public function ToFourDigitYear(
   year : int
) : int;

Parameters

year
The 2-digit year value to be converted.

See Also

Calendar Class | Calendar Members | System.Globalization Namespace