me_current
v1.0.1
Published
> CHECK OUT IN NPM: > [NPM_PACKAGE](https://www.npmjs.com/package/me_current)
Readme
CURRENT
CHECK OUT IN NPM: NPM_PACKAGE
NPM that makes it easy to get current date
INSTALLATION
npm i me_currentUSAGE EXAMPLES
const current = require("me-current");
console.log(current.year()); //output: 2022POSSIBILITIES:
- current.year:
- Outputs the current year in yyyy format
- current.month:
- Outputs the current month in mm format
- current.monthLong:
- Outputs the current month as a string, example: August
- current.monthShort:
- Outputs the current month as an abbreviated string, example: Aug
- current.CalendarFullString:
- Outputs the full calendar date including the week day and month in string format
- current.CalendarString:
- Outputs the full calendar date excluding the week day, with month in string format
- current.weekDay:
- Outputs the day of the week as a string
- current.day:
- Outputs the current day in dd format
Any questions, concerns, or issues, please contact: [email protected]
