js-sdk-datetime

0.1.0 • Public • Published

js-sdk-datetime

Simple date and time utilities.

library

beginOfMonth(date)

Returns a Date copied in the first day of the month.

endOfMonth(date)

Returns a Date copied in the last day of the month.

date(year, month, day)

Return a Date if year, month and day.

dateNormal(year, month, day)

Returns a Date from a month indexed by [1, 12].

license

See license.md or visit Unlicense.

/js-sdk-datetime/

    Package Sidebar

    Install

    npm i js-sdk-datetime

    Weekly Downloads

    0

    Version

    0.1.0

    License

    Unlicense

    Last publish

    Collaborators

    • diasbruno