I want to convert a string \"2013-09-05 15:34:00\" into a Unix timestamp in javascript. Can any one tell how to do that? thanks.
\"2013-09-05 15:34:00\"
try
(new Date("2013-09-05 15:34:00")).getTime() / 1000