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 hashes)