title: Time manipulation in React using momentjs
body: <p>I'm working on an attendance managing project right now where an employee should time-in, time-out or break (in a table like structure), and if they time-in in 15 minutes after the actual time-in time, the time-in cell in the table will become red (because they are late). </p>
  
  <p>The condition of making the cell red is easy and other stuffs but the only thing that is wasting my time is how can I manipulate time? How can I know that the time-in exceeds 15 minutes before an actual time (for example greater than 8:15am is late where 8:00am is the actual time-in time) if the value of this data from the database is a string (they already used moment in db so the data that will return to me is time already converted into a string)</p>
  
  <p>I'm using moment in React and es6, but I don't know how can I manipulate time using moment (or any other methods).</p>