Click here to Skip to main content

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 Nitesh Luharuka
How to Convert a Date Time to “X minutes ago” in C#
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. If that isn’t bad enough, there i
by Ivan Krivyakov
Difference between 'Resource' and 'Embedded Resource' Build Actions described

Latest Articles

by Mohammed A. Mohiuddin
Calculating Average Processing Time in hours excluding weekends
by BC3Tech
How to auto-update your NuGet packages at build time
by ArindamNayak
Azure Mobile Service: (here after refer as AMS) provides ready to use service for building mobile apps ( android, windows app, iOS) or simple javascript based App. If you planning to build a mobile App having cloud as backend, and you are planing to start directing building App, then it is perfect c
by Jacek Gajek
A TimeSpan wrapper class which uses a System.TimeSpan as a backing field.

Discussions

by KP Lee on tip/trick "Calculating Average Processing Time...
by KP Lee on tip/trick "Calculating Average Processing Time...
by Raj_Doshi27 on tip/trick "Calculating Average Processing Time...
by Member 666544 on tip/trick "Determine Fiscal Date"
by Nelek on article "Calculating Average Processing Time...

All Articles