Click here to Skip to main content
12,946,658 members (52,092 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 Alvin Bunk
Introduction Recently in an application I developed, I noticed I received a “unauthorized” response for an API GET to a RESTful Service which I developed in Symfony. I was baffled as to why I would all of a sudden get an “unauthorized” response, since the app was previously w
by Sukant Shekhar
How to calculate due date based on the customer service calendar
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.

Discussions

by Ajos1 on Article "Calculating Duration between two...
by J Haycox on Sunrise/Sunset Calculations
by Francisco Prado on Article "Calculating Duration between two...
by Member 11161282 on Article "Time Period Library for .NET"
by Member 11161282 on Article "Time Period Library for .NET"

All Articles