lib/blobfolio/common/data.php
public static function cc_exp_months(string $format='m - M') {
		$months = array();
		for ($x = 1; $x <= 12; ++$x) {
			$months[$x] = \date($format, \strtotime('2000-' . \sprintf('%02d', $x) . '-01'));
		}
		return $months;
	}
public static function cc_exp_months(string $format='m - M') {
		$months = array();
		for ($x = 1; $x <= 12; ++$x) {
			$months[$x] = \date($format, \strtotime('2000-' . \sprintf('%02d', $x) . '-01'));
		}
		return $months;
	}
public static function cc_exp_months ( string $ format = 'm - M' ) { $ months = array ( ) ; for ( $ x = 1 ; $ x <= 12 ; ++ $ x ) { $ months [ $ x ] = \ date ( $ format , \ strtotime ( '2000-' . \ sprintf ( '%02d' , $ x ) . '-01' ) ) ; } return $ months ; }
Generate Credit Card Expiration Months

@param string $format Date format.
@return array Months.
Generate Credit Card Expiration Months