Click here to Skip to main content
12,622,741 members (27,737 online)

Date and Time

Great Reads

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 Richard James Moss
This article describes adding design time support for a TabControl-like component which renders the same way the Project Properties in Visual Studio 2012.
by Ivan Krivyakov
Difference between 'Resource' and 'Embedded Resource' Build Actions described

Latest Articles

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
by Sibeesh Passion
In this post we will try to create a time zone calculator. We will be calculating the timezone in two ways.
by David A. Gray
When I needed to compute the Daylight Saving Time transitions for any year, I had to dig a bit deeper into the time zone information stored in the Windows Registry.
by Jorge A. Gómez P.
Time is simple but programming time is cumbersome. Programmers still have serious difficulties coding with time values.


by SiL3NC3-SWX on Article "MonthCalendar Calendar - Control"
by john.smith23 on WinAPI - simple operations with datetime
by asdqwewqe on Article "Time Period Library for .NET"
by Radhakrishna Bhandary on Article "Timezones in PHP "
by Troy compton on tip/trick "Display local time of various...

All Articles