AuxiliaryLibraries 1.0.16

Accessory to Persian calendar, string extensions, encryption, ip, log and rest api for .Net. You can easily use it.

There is a newer version of this package available.
See the version list below for details.
Install-Package AuxiliaryLibraries -Version 1.0.16
dotnet add package AuxiliaryLibraries --version 1.0.16
<PackageReference Include="AuxiliaryLibraries" Version="1.0.16" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AuxiliaryLibraries --version 1.0.16
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

AuxiliaryCalendar:

var persian_today = DateTime.Now.ToPrettyDate(); //امروز
var persian_yesterday = DateTime.Now.AddDays(-1).ToPrettyDate(); //دیروز
var persian_tomorrow = DateTime.Now.AddDays(1).ToPrettyDate(); //فردا
var persian_date = DateTime.Now.AddDays(-10).ToPrettyDate(); //پنجشنبه دوازدهم مهر ماه 1397

var todat = DateTime.Now.ToPrettyDate(toPersian: false); //Today
var yesterday = DateTime.Now.AddDays(-1).ToPrettyDate(toPersian: false); //Yesterday
var tomorrow = DateTime.Now.AddDays(-1).ToPrettyDate(toPersian: false); //Tomorrow
var date = DateTime.Now.AddDays(-10).ToPrettyDate(toPersian: false); //Thursday Fourth of October 2018

var persian_todayTime = DateTime.Now.ToPrettyDateTime(); //امروز ساعت 14:20
var persian_yesterdayTime = DateTime.Now.AddDays(-1).ToPrettyDateTime(); //دیروز ساعت 14:20
var persian_dateTime = DateTime.Now.AddDays(-10).ToPrettyDateTime(); //پنجشنبه دوازدهم مهر ماه 1397 ساعت 14:20

AuxiliaryCalendar:

var persian_today = DateTime.Now.ToPrettyDate(); //امروز
var persian_yesterday = DateTime.Now.AddDays(-1).ToPrettyDate(); //دیروز
var persian_tomorrow = DateTime.Now.AddDays(1).ToPrettyDate(); //فردا
var persian_date = DateTime.Now.AddDays(-10).ToPrettyDate(); //پنجشنبه دوازدهم مهر ماه 1397

var todat = DateTime.Now.ToPrettyDate(toPersian: false); //Today
var yesterday = DateTime.Now.AddDays(-1).ToPrettyDate(toPersian: false); //Yesterday
var tomorrow = DateTime.Now.AddDays(-1).ToPrettyDate(toPersian: false); //Tomorrow
var date = DateTime.Now.AddDays(-10).ToPrettyDate(toPersian: false); //Thursday Fourth of October 2018

var persian_todayTime = DateTime.Now.ToPrettyDateTime(); //امروز ساعت 14:20
var persian_yesterdayTime = DateTime.Now.AddDays(-1).ToPrettyDateTime(); //دیروز ساعت 14:20
var persian_dateTime = DateTime.Now.AddDays(-10).ToPrettyDateTime(); //پنجشنبه دوازدهم مهر ماه 1397 ساعت 14:20

Release Notes

Fix bug of ToPrettyDay function and add ToPrettyDayOfWeek and ToPrettyDateTime functions in AuxiliaryCalendar. Rename some unclear function names, and extend them in AuxiliaryStringExtensions.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.1.0 163 4/10/2019
1.0.19 189 1/13/2019
1.0.18 139 4/10/2019
1.0.17 199 10/14/2018
1.0.16 183 10/14/2018
1.0.15 184 10/13/2018
1.0.14 274 5/8/2018
1.0.13 334 11/22/2017
1.0.12 326 11/22/2017
1.0.11 373 11/22/2017
1.0.10 292 11/22/2017
1.0.9 278 11/1/2017
1.0.8 346 4/12/2017
1.0.7 324 2/7/2017
1.0.6 376 2/7/2017
1.0.5 332 12/20/2016
1.0.4 390 12/7/2016
1.0.3 376 12/6/2016
1.0.2 401 12/6/2016
1.0.1 382 12/6/2016
1.0.0 423 12/6/2016