Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Everything / DateTime

DateTime

DateTime

Great Reads

by Pavel Durov
Tip about converting .NET DateTime to Unix double timestamp and vise versa - on .NET
by thatraja
Display Date Time in 12/24 hour time format in C#/VB.NET
by Graham Wilson
An exercise to measure the drift in the time-of-day clock on a Windows PC using the periodic timer
by Mark Graham
When searching between datetimes in SQL(or SQL in a Stored Proc) we can't just do:select * from where CreateTime >= @DateFrom and CreateTime <= @DateToIf your search is date inclusive and you're not concerned with time, which most users aren't, then you need to add a little extra...

Latest Articles

by Pavel Durov
Tip about converting .NET DateTime to Unix double timestamp and vise versa - on .NET
by thatraja
Display Date Time in 12/24 hour time format in C#/VB.NET
by Graham Wilson
An exercise to measure the drift in the time-of-day clock on a Windows PC using the periodic timer
by Mark Graham
When searching between datetimes in SQL(or SQL in a Stored Proc) we can't just do:select * from where CreateTime >= @DateFrom and CreateTime <= @DateToIf your search is date inclusive and you're not concerned with time, which most users aren't, then you need to add a little extra...

All Articles

Sort by Score

DateTime 

by Retired Author
An extension library to simplify dealing with .NET's DateTime, DateOnly, TimeOnly and TimeSpan objects, also includes support for the ISO 8601 EDTF profile.