1.0.4 • Published 1 year ago

countdown-date-time v1.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Countdown Conduct Date and Time

A Node.js package for calculating the countdown from the current date and time to a conduct date and time.

Installation

You can install the package via npm:

npm install countdown-date-time

# Usage

const { countDownDateAndTime } = require('countdown-date-time');

                    OR

import { countDownDateAndTime } from 'countdown-date-time';                           


// Specify the conduct date and time

const conduct_date = '2024-03-25 16:54:00';

// Calculate the time difference

const countDown = countDownDateAndTime(conduct_date);

// Log the result
console.log('Time Difference:', countDown);

Time Difference:
{
    "days": 11,
    "hours": 2,
    "minutes": 9,
    "seconds": 47
}


Replace '2024-03-14T12:00:00' with your conduct date and time . The countDownDateAndTime function will return an object containing the countdown in days, hours, minutes, and seconds.
1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

0.0.1

1 year ago

1.0.0

1 year ago