A date-time utility library
⚡Links to the documentations.
formatDateTime
‐ Format a date-timedateTimeDifference
‐ Calculate the difference between two date/time.indexToDay
indexToMonth
‐ Get the day/month name from indexaddSubtractTime
‐ Add/Subtract time value from a given time and get the new value in different formats
npm install @sgx4u/date-time-utils # npm
yarn add @sgx4u/date-time-utils # yarn
pnpm add @sgx4u/date-time-utils # pnpm