datetime-object
v0.9.5
Published
work easily with dates & times
Downloads
18
Maintainers
Readme
datetime-object
dateTime-object was created to manipulate dates and times easily in javascript.
This API was designed to work both with all browsers and with Node.js. It's a refactoring of momentjs for clean API and working with Objects. dateTime-object is not mutable except for the methods to update current object explicitly:
after install
<script src="./node_modules/moment/min/moment-with-locales.min.js"></script>
<script src="./node_modules/datetime-object/distrib/datetime-object.min.js"></script>
without install
<script src="https://cdn.jsdelivr.net/npm/[email protected]/min/moment-with-locales.min.js" integrity="sha256-2upzq+m3oG9Q4Xye6pGvLrXgrzOKtTgR1D2GCLUzL2o=" crossorigin="anonymous"></script>
<div class="Note" style="color:orange;font-style:italic">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/distrib/datetime-object.min.js" integrity="sha256-PQj2taT+aXrQoKeoYbun6uYbuc1Qo7ZAc63xw/A2oIE=" crossorigin="anonymous"></script>
The lastest version of this document is available on Github > datetime-object
usage
API