Click here to Skip to main content
11,705,753 members (46,196 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 Cybermaxs
Last time, I explored how to store time series in Microsoft Azure Table Service. This time I’ll do the same but in Redis. It’s is a very popular key-value store (but not only) and I highly encourage you to review it if you still don’t know it. In addition to my latest post it’s important […]
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 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