Formats .NET DateTime objects into Persian Jalali formatted strings.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
PersianDateTimeFormat.cs
PersianDateTimeFormat.csproj
README.md

README.md

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