<?php $today = new DateTime('today'); $xmas = new DateTime('24 december last year'); $diff = $today->diff($xmas); echo (int)$diff->format('%a');
You have javascript disabled. You will not be able to edit any code.