Skip to content

CsharpGalaxy/ExtensionsTools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

String Document

DateTime Extensions (Persian DateTime Utilities)

This library provides a set of extension methods for easier date and time handling in .NET. Features include converting Gregorian dates to the Persian calendar, performing calendar calculations, checking date status, and displaying relative time.

Features

🔄 Convert Gregorian date to Persian (Shamsi)

📅 Calculate first and last day of the month

⏳ Display elapsed time ("x minutes/hours/days ago")

🎂 Calculate age

🏢 Add business days (skipping weekends/holidays)

🔍 Use with LINQ to filter dates (past/today/future)

install package

Install-Package CsharpGalaxy.LibraryExtension

About

helpful Extentions On C#

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •