Skip to content

simple jalalian calendar implementation in golang with extra utils function

License

Notifications You must be signed in to change notification settings

majidbl/persian-cal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

simple jalalian calendar implementation in golang with extra utils function

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages