Skip to content

Formats .NET DateTime objects into Persian Jalali formatted strings.

License

Notifications You must be signed in to change notification settings

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