<?php $date = new DateTime('2016-05-14 16:00:00'); // From database $date2 = new DateTime(); // Today. $interval = $date->diff($date2); echo $interval->format('Skomentowano: %d dni %h godzin %i minut %s sekund temu.');
You have javascript disabled. You will not be able to edit any code.