Tech Stuff


Tags / Time

Get the time duration from seconds

  • March 4, 2009
  • php  
  • convert  
  • duration  
  • time  
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
/**
 * @param integer secs   Number of seconds to convert
 * @return integer          Time in weeks, days, hours, minutes, seconds
 *
 */
function duration($secs) …
Read more...
Powered by Hugo and Whiteplain