Posted By

CJness on 10/01/10


Tagged

php function convert seconds


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bobbym245


function convert_to_seconds


 / Published in: PHP
 

  1. function convert_to_seconds($input)
  2. {
  3. return strtotime($input.' 01-01-1970') + 3600;
  4. }
  5.  
  6. echo convert_to_seconds('01:23:54');

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: on August 26, 2018

y360 u72 firmware http://gofirmware.com/post/huawei-y360-u72-hwy360-u6572-huawei-y360-u72

You need to login to post a comment.