Century

<< Click to Display Table of Contents >>

Navigation:  Apollo VCL Components > Apollo VCL Component Reference > TApolloEnv > TApolloEnv Properties >

Century

Declaration

property Century: WordBool;

Description

Contains a logical value with the current status of SetCentury. If True, the two digits of the year indicating the century will be included in values returned by GetDateString. If False, they will not.

Delphi Example

if ApolloEnv1.Century = True then

 ShowMessage( '2001 - Century is to be displayed!' ) 

else

 ShowMessage( '01 - Century is not to be displayed!' ); 

See Also

Epoch , SetCentury, DateFormat, SetDateFormat