MHVPersianExtension (nuget): Useful Extension for DateTime, String and int., For ex: DateTime dt = DateTime.Now; // {14/02/2021 16:30:08}  dt.GregorianDateTime(); //"2021/02/14-16:30:08" dt.JalaliDate(); //"1399/11/26" long ms = dt.DateTimeToMilliseconds(); //1613320208016 ms.MillisecondsToDateTime(); // {14/02/2021 16:30:08}
Keywords: PersianDate|JalaliDate|تاریخ|هجری|شمسی