Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
<?php
$hour = 'T06:00:00';
$date = date('Y-m-d');
$dates = $date. $hour;
$today = time();
$event = mktime(0,0,0,12,25,2006);
$countdown = round(($event - $today)/86400);
echo "$countdown days until Christmas";