ShortYear2000Cutoff Property

DTS Programming

DTS Programming

ShortYear2000Cutoff Property

The ShortYear2000Cutoff property specifies or returns the two-digit year below which the year is assumed to be 20yy. If the two-digit year is equal to or above the ShortYear2000Cutoff property, the year is 19yy.

Applies To
DataPumpTransformDateTimeString Object
Syntax

object.ShortYear2000Cutoff [= yy]

Part Description
object Expression that evaluates to a DataPumpTransformDateTimeString object
yy Two-digit number specifying the lowest year that is to be considered 19yy

Data Type

String

Modifiable

Read/write

Prototype (C/C++)

HRESULT ShortYear2000Cutoff(long* pRetVal);

HRESULT ShortYear2000Cutoff(long pRetVal);

Remarks

The default value is 30.

The property also can be referenced through the TransformServerProperties collection with the following code:

Set transprops = transform.TransformServerProperties
transprops("ShortYear2000Cutoff") [= yy]

See Also

InputFormat Property

OutputFormat Property