The cardexpirevalidate( function checks the validity of a credit card expiration date.
This function has two parameters:
month – Expiration month. This may be either a number (1–12) or in English (jan, April, DECEMBER, etc.).
year – Expiration year. The year may be either 2 or 4 digits.
This function checks the validity of a credit card expiration. The result is true if the expiration is valid, false if it is expired or invalid. The examples below assume the current date is in 2015.
cardexpirevalidate(1,2012) ☞ false cardexpirevalidate("April","18") ☞ true
Note: This function doesn’t actually check the card with the bank, in fact, no card number is supplied. It merely checks to see if the date is a valid date in the future.
|10.0||No Change||Carried over from Panorama 6.0.|