Convert normal date to unix timestamp

Math.floor(new Date('2012.08.10').getTime() / 1000)

Check the JavaScript Date documentation.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)