PHP Days Since January 1, 2010 Calculator - Calculate the Number of Days Since 2010

Easily calculate the number of days that have passed since January 1, 2010 with our user-friendly online calculator. Get accurate results in just a few clicks.

<?php
$now = time();
$your_date = strtotime("2010-01-01");
$datediff = $now - $your_date;

echo round($datediff / (60 * 60 * 24));