A module for convert jalali to gregorian And conversely & write now date
Project description
Sundate (jalali)
Installation
Python 3.6 or newer is required.
pip install sundate
Example usage
j = gregorian_to_jalali(2020, 5, 17)
g = jalali_to_gregorian(1399, 2, 28)
Python3.x:
print('Jalali: \t', j[0], '/', j[1], '/', j[2])
print('Gregorian: \t', g[0], '/', g[1], '/', g[2])
Report Bug
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
sundate-0.0.1.tar.gz
(2.4 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 sundate-0.0.1.tar.gz.
File metadata
- Download URL: sundate-0.0.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42e25a7235725237e389e4bc01f3cf7231091307a5d472585bb08f46a48fb7dd
|
|
| MD5 |
cf5b2feed4ec51130b5add5d8a3561f2
|
|
| BLAKE2b-256 |
910734caf5f789dfed5f17c5277652f4db4f6524d47b6e6efecb341336757b0d
|
File details
Details for the file sundate-0.0.1-py3-none-any.whl.
File metadata
- Download URL: sundate-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.6 tqdm/4.62.3 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
541c6e667d3695bf119758797d5a54589f8735544332c42c1d06201fa82b2c96
|
|
| MD5 |
69fcce0a63afd5a1a0b387617edc34e6
|
|
| BLAKE2b-256 |
0e3b45801ca30e777f49f63493ad89bc9d01d8a61926fbbe4c1a9604de16fad2
|