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
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for easydatejiakai-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5a323c67ced6e38a8bf45ccc76c090a51ac06af1e2f18599635f6f12fa94f41 |
|
MD5 | 51a72e70280c22c419f26df219efaeb3 |
|
BLAKE2b-256 | 1f9b849bc7791967923778c5d5bcc3e67b1e292a72f40d9c7774f53e5f08a3d7 |