<?php
$termina = new \DateTime('2050-12-11 11:14:15');
$hoje = new \DateTime();
$intervalo = $hoje->diff($termina);
printf('%04d/%02d/%02d %02d:%02d:%02d', $intervalo->y, $intervalo->m, $intervalo->d, $intervalo->h, $intervalo->i, $intervalo->s);
PD9waHAKCiAgICAkdGVybWluYSA9IG5ldyBcRGF0ZVRpbWUoJzIwNTAtMTItMTEgMTE6MTQ6MTUnKTsKICAgICRob2plICAgID0gbmV3IFxEYXRlVGltZSgpOwogICAgCiAgICAkaW50ZXJ2YWxvID0gJGhvamUtPmRpZmYoJHRlcm1pbmEpOwoKICAgIHByaW50ZignJTA0ZC8lMDJkLyUwMmQgJTAyZDolMDJkOiUwMmQnLCAkaW50ZXJ2YWxvLT55LCAkaW50ZXJ2YWxvLT5tLCAkaW50ZXJ2YWxvLT5kLCAkaW50ZXJ2YWxvLT5oLCAkaW50ZXJ2YWxvLT5pLCAkaW50ZXJ2YWxvLT5zKTs=