AddCenturyTo2YearDigit

Converts two-digit Year values to four-digit Year values.

Member of namespace:

MC_Validation

Syntax:

bool AddCenturyTo2YearDigit()

Parameters

None.

Returns

False, if the value is not a valid date in the mmddyy format or if the action is not applied at the Field level. Otherwise, True.

Level

Field level.

Details

This action converts two-digit Year values to four-digit Year values.

All dates are assumed to be before today's date with a format of mmddyy. If today is 051507 and this action is applied to a field with a value of 102295, the date is assumed to be 10221995.

Example:
AddCenturyTo2YearDigit()