Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function secondsToTime($seconds) {
- $dtF = new \DateTime('@0');
- $dtT = new \DateTime("@$seconds");
- return $dtF->diff($dtT)->format('%a days, %h hours, %i minutes and %s seconds');
- }
- function secondsToTime($seconds)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement