Time string to total minutes integer in PHP
<p>Simple question, but can't find it elsewhere:</p>

<p>How can I transform my string of time e.g. <code>"09:30"</code> into in integer containing the total minutes in that time? (Solution for <code>"09:30"</code> would be <code>570</code>)</p>

<p>I have tried a lot of stuff, including <code>substr</code>, <code>mktime</code> and <code>strtottime</code> and just can't get it to work.</p>
