i have this time format :
DateTime(2015, 5, 11, 12, 0, 0)
i would like to know if i can convert it into a time stamp.
i have made this convert function from ISO 8601 to Timestamp and i would like to know if i can adapt it to this time format :
var myDate = new Date("2017-07-31T15:30:00+0000");
var offset = myDate.getTimezoneOffset() * 60 * 1000;
var withOffset = myDate.getTime();
var withoutOffset = withOffset - offset;
console.log(myDate.getTimezoneOffset()*60 * 1000)
console.log('with Offset ' + withOffset);
console.log('without Offset (timeStamp of your timezone) ' +withoutOffset);