Rahim.PersianDateTime
2.2.0
dotnet add package Rahim.PersianDateTime --version 2.2.0
NuGet\Install-Package Rahim.PersianDateTime -Version 2.2.0
<PackageReference Include="Rahim.PersianDateTime" Version="2.2.0" />
paket add Rahim.PersianDateTime --version 2.2.0
#r "nuget: Rahim.PersianDateTime, 2.2.0"
// Install Rahim.PersianDateTime as a Cake Addin #addin nuget:?package=Rahim.PersianDateTime&version=2.2.0 // Install Rahim.PersianDateTime as a Cake Tool #tool nuget:?package=Rahim.PersianDateTime&version=2.2.0
About
Rahim.PersianDateTime is used to convert date and time from Gregorian to Solar.
The method of using this package is very simple. The only argument it takes from you is date and time.
How to Use
Example ⇒ To get solar date from Gregorian:
var solarDate = DateTime.Now.GetSolarDate(); Or var solarDate = PersianDateTime.GetSolarDate(DateTime.Now);
در باره
Rahim.PersianDateTime برای تبدیل تاریخ و زمان از میلادی به شمسی استفاده می شود.
روش استفاده از این پکیج بسیار ساده است. تنها ورودی که از شما میگیرد تاریخ و زمان است.
نحوه استفاده
مثال ⇒ برای گرفتن تاریخ شمسی از میلادی :
var solarDate = DateTime.Now.GetSolarDate(); Or var solarDate = PersianDateTime.GetSolarDate(DateTime.Now);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.