i am a newcomer in javascript and have a question regarding unix timestamps in javascript.
suppose the date is "2009/11/23" or "1890-03-12" or "1890-03-12 12:23:00" or current date through "new Date()".
How to convert these dates to unix timestamps or epoch timestamps with detailed explanation ?
I am confused and have no idea about how to convert it into epoch timestamps in javascript ?