Converting UTC string to epoch time in javascript

How can I convert UTC date-time string (e.g. 2011-03-29 17:06:21 UTC) into Epoch (milliseconds) in javascript?

If this is not possible, is there any way to compare (like <, >) UTC date time strings?

7
задан Sandeep 5 April 2016 в 09:10
поделиться