Skip to main content

A simple package for date and time operations

Project description

EasyDate

EasyDate is a simple Python package for performing common date and time operations with ease.

Features

  • Get the current date and time in a readable format.
  • Calculate the number of days between two dates.
  • Determine the weekday for a given date.

Installation

To install EasyDate, simply use pip:

pip install easydatejiakai

Usage

Here's a quick example of how to use EasyDate:

from easydatejiakai import get_current_datetime, calculate_days_between, get_weekday

print(get_current_datetime())  # Prints the current date and time
print(calculate_days_between("2024-01-01", "2024-01-31"))  # Prints the number of days between two dates
print(get_weekday("2024-01-01"))  # Prints the weekday of a given date

License

This project is licensed under the MIT License.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

easydatejiakai-0.1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

easydatejiakai-0.1.0-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page