apologies this is probably a simple question - I am using php and JS to create a counter and I have stored a time using an SQL time field in my DB- I run a query to return this time but I now wish to convert this time into an integer, I assume I need to use the following, but I am lost on the syntax: http://www.electrictoolbox.com/using-strtotime-with-php/
any help would be appreciated. many thanks in advance