Javascript Date getUnixTime(strDate)

Description

Javascript Date getUnixTime(strDate)


function getUnixTime(strDate) {
 var d = new Date(strDate);
 var unixTime = (d.getTime() / 1000);
 return unixTime;
}



PreviousNext

Related