How to subtract to array objects?
<p>I am developing an appplication in which i need timestamp.I have two arrays with string objects containing hours,minutes and seconds and i need to subtract those and put them in third arrays as hours,minutes and seconds as three objects.</p>

<p>example:</p>

<pre><code>arr1=[9,10,22]
arr2=[10,12,42];
</code></pre>

<p>so the answer should be</p>

<pre><code>arr3=[1,2,22]
</code></pre>

<p>and i need to put this array objects in a string separated by <code>' :'</code></p>

<p>Kindly help.</p>
