Retrieved DateTextBox value looks like:
Thu Jan 01 1970 17:17:33 GMT+0100 (W. Europe Standard Time)
What is the best way to convert this into UNIX timestamp?
Retrieved DateTextBox value looks like:
Thu Jan 01 1970 17:17:33 GMT+0100 (W. Europe Standard Time)
What is the best way to convert this into UNIX timestamp?
var unixtime = Date.parse("24-Nov-2009 17:57:35").getTime()/1000