jojodate

A date plugin to solve date related problems

Usage no npm install needed!

<script type="module">
  import jojodate from 'https://cdn.skypack.dev/jojodate';
</script>

README

validate.js

jojodate.js is a lightweight JavaScript to solve date problems.

Features

  • No dependencies

How to use

    var plugin=new JoJoDate();
    // return a date list
    plugin.getDatesBetween('2020-07-20','2020-08-10');
    //return a date string
    plugin.getDateAfter('2020-07-20',2);
    //return a number
    plugin.getDiff('2020-07-20','2020-08-10'); 

Documentation

https://www.npmjs.com/package/jojodate

Browserify

https://www.npmjs.com/package/jojodate

npm install jojodate

Plugins

https://www.npmjs.com/package/jojodate

Multi-Language Support