<?php $date = new DateTime(); $discount = 33; $sale_end = ''; if($sale_end) { $date->modify($sale_end); } echo sprintf('%d%% OFF Ends %s', $discount, ($sale_end) ? 'Ends ' . $date->format('F d') : '');
You have javascript disabled. You will not be able to edit any code.