advanced code snippet search
CJness on 10/01/10
php function convert seconds
10/01/10 07:53pm
1 person have marked this snippet as a favorite
bobbym245
function convert_to_seconds($input){ return strtotime($input.' 01-01-1970') + 3600;} echo convert_to_seconds('01:23:54');
Report this snippet Tweet
Comment:
You need to login to post a comment.