Century Property
Specifies whether the century portion of a date is displayed in a text box. Available at design time and run time.
Object.Century[ = nValue]
Return Value
nValue
One of the following settings:Setting
Description
0
Off. The century portion of the date is not displayed.
1
(Default) On. The century portion of the date is displayed.
2
The SET CENTURY setting determines if the century portion of the date is displayed. If SET CENTURY is ON, the century portion of the date is displayed. If SET CENTURY is OFF, the century portion of the date is not displayed.
Remarks
Applies To: TextBox Control (Visual FoxPro)
The Century property setting is ignored if the DateFormat property is set to Short or Long.
Note that in earlier versions of Visual FoxPro the default for the Century property is 2.