Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**
- * @author Genesis730
- * @copyright 2011
- */
- $hms = "12:00:00";
- list($hrs,$mins,$secs) = explode(':',$hms);
- $seconds = (time() - mktime($hrs,$mins,$secs)) / 60;
- echo "<br /><br />Seconds: ".$seconds;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement