Click here to Skip to main content
11,701,953 members (50,851 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 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 Dmitriy Kozlov
Passing and getting Date object to and from date and datetime fields
by xszaboj
Big-oh(O), omega(Ω), theta(Θ). It sounds like some magical words, but it is just a math. So don’t be scared and I will show you what it means and how to deal with it. First of all I would like to say that before you will read this post you should read this one and this one about […]
by xszaboj
In my last post I was writing about time complexity and how important it is to think about it when you are writing your code. Today I would like to show you some more examples how to compute time complexity of algorithm. When you are trying to solve time comlexity of your algorithm you should [&#823
by xszaboj
In these days, we have super fast computers that can compute so fast we can’t even imagine it. So should we care about our algorithm time coplexity? Well I hope that with little bit of math and some examples I will convince you that you should care. How to compute time complexity? At first you


by Member 9804093 on Article "Time Period Library for .NET"
by jmeirow on Article "Time Period Library for .NET"
by Jeronymite on Article "A SNTP Client for C# and VB.NET"
by ngh1688 on Article "C#: A Better Date-Masked Text Box"
by Rooka on Convert date from Hijri Calendar to Gregorian...

All Articles