Struggling to convert a datetime string in a different language format to unix time using moment.js. Any tips or workarounds would be greatly appreciated!
moment.locale('de');
var c = moment('20.06.2015').format("X"); //getting an Invalid Date error
var d = moment('20.06.2015').unix(); //also getting an Invalid Date error