A Python library to calculate the difference between two dates.
Project description
date_difference
مكتبة Python لحساب الفرق بين تاريخين.
كيفية الاستخدام
from date_difference import calculate_date_difference
# حساب الفرق بين التاريخين
days, hours, minutes, seconds = calculate_date_difference("2023-01-01 12:00:00", "2024-05-30 15:30:45")
# طباعة النتيجة
print(f"الفرق بين التاريخين هو: {days} أيام، {hours} ساعات، {minutes} دقائق، {seconds} ثوانٍ")
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
date_difference-0.1.0.tar.gz
(2.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file date_difference-0.1.0.tar.gz.
File metadata
- Download URL: date_difference-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdce42793edee1c5f8593ea9cb5a5b48f5563e3159f6bea4bc7510b270373750
|
|
| MD5 |
ead84d037e594b7e9e047e7496ae2308
|
|
| BLAKE2b-256 |
5d3e208a939e599dd01863ada9dfccebb64b8b630b02672881071ccde7aeeb7c
|
File details
Details for the file date_difference-0.1.0-py3-none-any.whl.
File metadata
- Download URL: date_difference-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
55336e867097932e8b7976eb1b935bfd0746815078f7242fc645c0704f496763
|
|
| MD5 |
5df0643f69002cde1a98a44542758c3e
|
|
| BLAKE2b-256 |
d9e22e103a3dd39c9bfc5acc788ad9837c295b76abcb7dfe96fc6e3ae4c9ebc4
|