Error getting tags :
error 404Error getting tags :
error 404 centuryCutoff | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
centuryCutoff
Basics
Expander triangle
Type
Property
Syntax

set the centuryCutoff to lastYearOfCentury

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies which century two-digit years are assumed to be in.
Examples

set the centuryCutoff to 45

Additional Comments
Expander triangle

Use the centuryCutoff property to interpret dates close to the century mark.

Value:

The centuryCutoff is a two-digit number.

By default, the centuryCutoff is set to 35.

Comments:

The centuryCutoff specifies the two-digit year that ends the century. Two-digit years less than or equal to the centuryCutoff belong to the next century; two-digit years greater than the centuryCutoff belong to the previous century.

For example, if the centuryCutoff is set to 50, and the current year is 2000, then the date 4/12/51 is interpreted as being in the year 1951, while the date 4/12/50 is interpreted as being in 2050.

Since the centuryCutoff is a local property, its value is reset to 35 when the current handler finishes executing. It retains its value only for the current handler, and setting it in one handler does not affect its value in other handlers it calls.

User Comments
Expander triangle