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 details)
Built Distribution
File details
Details for the file easydatejiakai-0.1.0.tar.gz
.
File metadata
- Download URL: easydatejiakai-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d77e2d4957267048a55e554e113180f911cba8b9eb605c52713a2947eab6d408
|
|
MD5 |
61541ee3e55245af503038cb9a5984c6
|
|
BLAKE2b-256 |
99c72145d985338f4fd2abd85542bb9dea59d45d49cec3eead85879b13b96e76
|
File details
Details for the file easydatejiakai-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: easydatejiakai-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
e5a323c67ced6e38a8bf45ccc76c090a51ac06af1e2f18599635f6f12fa94f41
|
|
MD5 |
51a72e70280c22c419f26df219efaeb3
|
|
BLAKE2b-256 |
1f9b849bc7791967923778c5d5bcc3e67b1e292a72f40d9c7774f53e5f08a3d7
|