title: How to convert Moment.js moment to unix timestamp
body: <p>I see a lot in the Moment.js documentation about getting a Moment from a Unix timestamp. However, I am trying to convert a Moment to a Unix timestamp, and I am not sure how to do that. This is how my moment looks:</p>
  <p>const myMomentObject = moment(str_time, 'YYYY-MM-DD');</p>
  <p>And I need to convert it to a Unix timestamp.</p>