Click here to Skip to main content
12,815,019 members (40,039 online)

Date and Time

Great Reads

by Graham Wilson
An exercise to measure the drift in the time-of-day clock on a Windows PC using the periodic timer.
by Luc Pattyn
The code snippet below returns the first Thursday of a given year without iterating anything.DateTime FirstThursday(int year) { DateTime dt=new DateTime(year, 1, 1); return dt.AddDays((11-(int)dt.DayOfWeek)%7);}The formula used may seem a bit bizarre, it computes the distance...
by John Atten
John on Google CodeProjectLet’s face it. Managing date information within the .net framework (or any framework, really . . . Java is not much better) is a pain the the ass. Really. What makes it even worse is managing user data entry of date information.
by Ivan Krivyakov
Difference between 'Resource' and 'Embedded Resource' Build Actions described

Latest Articles

by Graham Wilson
An exercise to measure the drift in the time-of-day clock on a Windows PC using the periodic timer.
by Jani Giannoudis
Extensive time period calculations and individual calendar periods.
by Alexey Chernobaev
Date and time source interface allows to use different actual date and time sources (e.g. current system time or accelerated system time) in your C# code to simplify debugging, simulation, etc.
by David Wincelberg
Displays a date/time difference as calendar days or 24-hour days and can show hours or minutes for the first 24 hours

Discussions

by Jani Giannoudis on Article "Time Period Library for .NET"
by Member 13073131 on Article "Time Period Library for .NET"
by jtni2 on Article "Time Period Library for .NET"
by Jani Giannoudis on Article "Time Period Library for .NET"
by jtni2 on Article "Time Period Library for .NET"

All Articles