Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 525 Bytes

README.md

File metadata and controls

20 lines (14 loc) · 525 Bytes

persian-cal

A simple calendar for use in projects that need to work with the solar calendar, such as converting the Gregorian calendar to the solar calendar and vice versa and formatting the date as desired in the CLI programs and so on .....

Quick Start

import	"majidzarephysics/cal/persian-cal"

you can get jalali time from system unix time

date, _ := jalali.Unix(1608116340)

or you can convert georgian date to jalali directly

date, _ := jalali.ToJalali(2003,10,25)