I am getting a text value and it is formatted like this : "9/19/2018 10:00 AM".
How would you go about turning this into an epoch timestamp using moment.js or just javascript?

EXAMPLE:

```
console.log(moment('4/17/2018 10:00 AM', 'mm/dd/yyyy hh:mm a').format('x'));

```