<?php
$data = '1/1/2017';
$diferenca = $timestamp - $dia_hora_atual;
$dias = ($diferenca / 86400);
echo "$dias dia(s)";
PD9waHAgIAoKJGRhdGEgPSAnMS8xLzIwMTcnOyAKJHRpbWVzdGFtcCA9IHN0cnRvdGltZSgkZGF0YSAuICIrNiBtb250aHMiKTsgICAgCiRkaWFfaG9yYV9hdHVhbCA9IHN0cnRvdGltZShkYXRlKCJZLW0tZCIpKTsKJGRpZmVyZW5jYSA9ICR0aW1lc3RhbXAgLSAkZGlhX2hvcmFfYXR1YWw7CiRkaWFzID0gKCRkaWZlcmVuY2EgLyA4NjQwMCk7CmVjaG8gIiRkaWFzIGRpYShzKSI7CiAgIA==