MHVPersianExtension by Mohsen Hajivalie

<PackageReference Include="MHVPersianExtension" Version="1.0.1" />

 MHVPersianExtension 1.0.1

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}

<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
  <metadata>
    <id>MHVPersianExtension</id>
    <version>1.0.1</version>
    <title>MHV Persian Extension</title>
    <authors>Mohsen Hajivalie</authors>
    <owners>Hajivalie.ir</owners>
    <requireLicenseAcceptance>false</requireLicenseAcceptance>
    <licenseUrl>http://license.hajivalie.ir/</licenseUrl>
    <icon>MHVPersianExtension.png</icon>
    <projectUrl>http://blog.hajivalie.ir/_ex</projectUrl>
    <description>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}</description>
    <summary>Extension for DateTime, String and int
Optimized for Gregorian and Persian Date (Jalali)</summary>
    <copyright>Copyright © 2021 Mohsen Hajivalie</copyright>
    <language></language>
    <tags>PersianDate, JalaliDate,تاریخ هجری شمسی</tags>
  </metadata>
</package>