find-a-day

1.0.3 • Public • Published

find-a-day

Installation

npm install find-a-day

Import

const getDayOfBirth = require('find-a-day'); // .cjs file extension

Format

Format: 'DD-MM-YYYY' or 'DD/MM/YYYY'

Usage

// Example usage:
const dateOfBirth = '15-08-1947'; // Format: 'DD-MM-YYYY' or 'DD/MM/YYYY'
const dayOfWeek = getDayOfBirth(dateOfBirth);
console.log('Birth day is:', dayOfWeek); // Birth day is: Friday

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.3
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.3
    2
  • 1.0.2
    0
  • 1.0.1
    0
  • 1.0.0
    0

Package Sidebar

Install

npm i find-a-day

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

3.06 kB

Total Files

4

Last publish

Collaborators

  • gurivisetti-gopikrishna