Source Code:
(back to article)
<?php $start = new DateTime('2022-10-01 10:00:00'); $now = new DateTime(); $interval = $now->diff($start); echo $interval->format('%y Jahre %m Monate %d Tage %h Stunden %i Minuten %s Sekunden');
Result:
Report an issue