A node module for converting time and date from human readable format to unix time stamp and vice versa.
Include require('/epoch'); inside the js file on the server side to use the methods of epoch-time-converter.
To convert Date and time from human readable format to unix time stamp call the below method:
Syntax: timeStamp = getUnixTimeStamp(datetime);
Where dateTime is the date and time to be passed in order to get the time stamp.