title: Incrementing time (minutes and seconds) in bash / shell script
body: <p>I need to increment minutes and seconds (in relation to time) in a variable.</p>
  
  <p>First, I'm not sure whether declaring a 'time' variable is written as </p>
  
  <pre><code>time="00:00:00" 
  </code></pre>
  
  <p>or </p>
  
  <pre><code> time=$(date +00:00:00)?
  </code></pre>
  
  <p>From there, I want to increment this variable by 10 minutes and seconds resulting in <br><br>01:00:00 increased to<br> 01:10:10 to <br>01:20:20 etc (all the way up to midnight - 00:00:00) <BR><BR>What would be the best way to achieve this?</p>
  
  <p>I understand that doing 
  <code>$ date -d "2010-07-07 200 days"</code> adds (200) days but I don't know how to apply this example to time (minutes and seconds) and not date?</p>
  
  <p>All replies are much appreciated.</p>