<?php //Settings here //Mechanisms here // Testing $now = new DateTime(); $zero = new DateTime('0001-01-01'); $diff = $now->diff($zero); echo $diff->format('%a days'); // days since day zero ?> Placeholder.