Skip to content

EXEIdeas/date

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Pure JavaScript Date Functions

These functions are very useful when dealing with any type of date fields. They use the same format strings as the java.text.SimpleDateFormat class, with a few minor exceptions.

Functions include:

  • isDate() - Check if a date is valid
  • compareDates() - See if one date is greater than another
  • formatDate() - Output a Date() object in any format
  • getDateFromFormat() - Parse a date string and return time in ms representing date object

About

Pure JavaScript Date Functions

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published