Skip to content
Milad edited this page Jan 5, 2016 · 2 revisions

Welcome to the python-jalali wiki!

May be below example will be helpful to someone!

import jdatetime

date_shamsi_jalali = (jdatetime.date.fromgregorian(day=5,month=1,year=2016))
print (date_shamsi_jalali)

date_miladi_gregorian = jdatetime.date(day=15,month=10,year=1394).togregorian()
print (date_miladi_gregorian)
Clone this wiki locally