0.1.0 • Published 8 years ago
js-sdk-datetime v0.1.0
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.
0.1.0
8 years ago