Convert string (0:2:1) to time format in PHP
<p>This is very simple but I can't find a function to format string to time format.</p>

<p>I have the following string that want to format it to time:</p>

<p>0:2:1</p>

<p>How can I make it 00:02:01?</p>
