I'm trying to convert a date in PAM but the output is always 0.
var MyDate = new Date("2011-05-03T18:00:00-00:00");
Process.x = MyDate.getTime();
//Process.unixTS = MyDate.getTime()/1000;
Any idea how to solve this? Thank you in advance.