Getting timestamp date in javascript

I have a time that looks like this: 2018/05/28 13:00 and I know that I should get it as a timestamp with the value of 1527512400000 (assuming GMT+0) but I didn’t find the correct method for that, any help?