Card Expiry Date Test Cases
Edge-case expiry dates relative to today: this month, last month, far future, invalid months.
Tool inputs stay in your browser · optional AI search sends your query
Good to know: Cards are valid through the LAST day of the expiry month. Test both sides of that boundary.
How to use it (step by step)
- 1Choose your options: “Format”.
- 2Press “Generate dates”.
- 3Copy the result with the Copy button. Press the button again for a fresh result.
Words to know
- Case (UPPERCASE, lowercase…)
- How letters are written: UPPERCASE (all big), lowercase (all small), Title Case (Big First Letters). camelCase and snake_case are styles programmers use for names.
- Expiry date
- The month and year printed on a card (MM/YY). The card works until the last day of that month.
- Test / sandbox mode
- A practice version of a payment system. You can “pay” with test cards to try your checkout, but no real money moves.
More in Cards & Payments
CVV2 / CVC2 Result CodesWhat M, N, P, S and U mean in a card security code check result.3D Secure ECI Value LookupDecode the ECI from a 3DS authentication (05/06/07 for Visa, 02/01/00 for Mastercard).Merchant Category Code (MCC) LookupFind what a 4-digit MCC means (5411 groceries, 5812 restaurants…) or search by business type.ISO 4217 Currency CodesCurrency code, numeric code and decimal places (minor units) for 50 currencies.Card Number Rules by NetworkPrefixes (IIN ranges), lengths and security-code size for every major card network.Amount to Minor Units (Cents) ConverterConvert 19.99 USD → 1999 for payment APIs, with zero- and three-decimal currencies handled.