title: MomentJS from 00:00 to 23:59
body: <p>I've been trying to add this slider:
  <a href="http://ionden.com/a/plugins/ion.rangeSlider/demo_advanced.html" rel="noreferrer">http://ionden.com/a/plugins/ion.rangeSlider/demo_advanced.html</a></p>
  
  <p>This is my sample code:</p>
  
  <pre><code>$("#range").ionRangeSlider({
      min: +moment().subtract(12, "hours").format("X"), //need to change to 00:00
      max: +moment().format("X"), //need to change this to 23:59
      from: +moment().subtract(6, "hours").format("X"), 
      grid: true,
      force_edges: true,
      prettify: function (num) {
          var m = moment(num, "X").locale("en");
          return m.format("HH:mm");
      }
  });
  </code></pre>
  
  <p><strong>I would like to add min to 00:00 and max to 23:59</strong></p>
  
  <p>I tried doing</p>
  
  <pre><code>moment("1234", "hmm").format("HH:mm")
  </code></pre>
  
  <p>I'm getting either invalid date or NaN.</p>
  
  <p>Please help me. I'm not sure where I'm going wrong.</p>