How can I convert normal date 2012.08.10 to unix timestamp in javascript?
2012.08.10
Fiddle: http://jsfiddle.net/J2pWj/ I\'ve se
You should check out the moment.js api, it is very easy to use and has lots of built in features.
I think for your problem, you could use something like this:
var unixTimestamp = moment('2012.08.10', 'YYYY.MM.DD').unix();