<?php function formatetimestamp($until){ $difference = $until - $now; $difference = $difference - ($days*86400); $difference = $difference - ($hours*3600); $difference = $difference - ($minutes*60); $seconds = $difference; $output = "$days dni, $hours godzin, $minutes minut i $seconds sekund."; return $output; } //int mktime ( [int hour [, int minute [, int second [, int month [, int day [, int year
[, int is_dst]]]]]]] ) ?>
i chciałbym aby wiek był podany w sekundach, jak to zrobić ?
pozdrawiam i dziękuję.