Changing "Expiration Date" to use future date code
-
Does anyone know if it is possible to set up the coupon’s expiration date to reflex +X days from the date of visit to site. Say you visit my coupon page on 03/29/2015, the coupon would sate Expires on 04/01/215 (X= 3
I know the code
echo date('Y-m-d', mktime(0, 0, 0, date("m"), date("d")+3, date("Y")));
will display current date +3Any ideas will be appreciated
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Changing "Expiration Date" to use future date code’ is closed to new replies.