Skip to content

A node module for converting time and date from human readable format to unix time stamp

License

Notifications You must be signed in to change notification settings

vikramhegde58/epoch-time-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

epoch-time-converter

A node module for converting time and date from human readable format to unix time stamp and vice versa.

Installation

Include require('/epoch'); inside the js file on the server side to use the methods of epoch-time-converter.

Usage

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.

About

A node module for converting time and date from human readable format to unix time stamp

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published