GregorianCalendar: TwoDigitYearMax (let)

TwoDigitYearMax

Sets the maximum year to be created from a 2-digit year.



 Public Property Let TwoDigitYearMax(
	  ByVal Value As Long )

Parameters

Value
[ByVal] Long. The new 4-digit year maximum a 2-digit year is converted to.

Remarks

The property allows a 2-digit year (0 to 99) to be converted to a 4-digit year(0001 to 9999). The 2-digit year of 99 does not necessarily corrispond to the largest year to be created. For example, for a maximum year of 2029, the value 99 would convert to 1999 and 0 would convert to 2000. The years 29 would become 2029 and 30 would become 1930.

Read/Write.

See Also

Project CorLib Overview

Class GregorianCalendar Overview