Skip to content

hadi77ir/PersianDateTimeFormat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PersianDateTimeFormat

A helper class based on CoreCLR's DateTimeFormat intended to format DateTime objects into Persian Jalali strings.

Usage

string formatted = PersianDateTimeFormat.Format(DateTime.Now, "dd MMMM YYYY", true); // ۲۳ آذر ۱۳۹۷

License

MIT