The Credit Card Expire Year generator creates the year portion of credit card expiration dates in a two-digit or four-digit format. It generates realistic future years to simulate the expiration year of credit cards for testing or data generation purposes.
The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.
Short name | Example of generated data | Data type matching | Country-specific |
---|---|---|---|
Expire Year | 2007, 2012, 2011, … | character varying character text smallint integer bigint decimal |
Default |
The generator can be assigned to a column that matches any of the following rules:
The generator produces data based on a regular expression. Since it is built on the RegExp generator, see Regular Expression generator to customize settings and understand the correct usage of syntax.