title: How to add minutes to a time string?
body: <p>I am using momentjs to manipulate time. I have an hour, minute, second string like '00:30:00'. And I want to add few mins to it. With momentjs I can convert this string into minutes then I can easily add the minutes I want. But how do I make it back to the sting?</p>
  
  <p>ex - moment.duration('00:30:00').asMinutes; will give me minutes.
  Suppose this give 30 , I can add 30 more mins to it to make it 60mins.
  how do I convert 60mins to this string again using momentjs?</p>
  
  <p>On printing </p>
  
  <pre><code>console.log(moment.duration('00:30:00').add(30, 'minutes'));
  </code></pre>
  
  <p>I am getting </p>
  
  <pre><code>[object Object] { _bubble: function Zc(){var    a,b,c,d,e,f=this._milliseconds,g=this._days,h=this._months,i=this._data;
  // if we have a mix of positive and negative values, bubble down first
  // check: https://github.com/moment/moment/issues/2166
  // The following code bubbles up values, see the tests for
  // examples of what that means.
  // convert days to months
  // 12 months -&gt; 1 year
  return f&gt;=0&amp;&amp;g&gt;=0&amp;&amp;h&gt;=0||0&gt;=f&amp;&amp;0&gt;=g&amp;&amp;0&gt;=h||(f+=864e5*Yc(_c(h)+g),g=0,h=0),i.milliseconds=f%1e3,a=s(f/1e3),i.seconds=a%60,b=s(a/60),i.minutes=b%60,c=s(b/60),i.hours=c%24,g+=s(c/24),e=s($c(g)),h+=e,g-=Yc(_c(e)),d=s(h/12),h%=12,i.days=g,i.months=h,i.years=d,this},
    .... continued
  </code></pre>