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 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 Tomer Shamam
Blendability Part I – Design time ViewModel
by Tomer Shamam
Blendability Part II – Design time support for Prism

Latest Articles

by pwasser
A robust approach to decoding CIM_DATETIME for C++ programmers.
by Jani Giannoudis
Extensive time period calculations and individual calendar periods.
by abin jaik
SharePointers, Recently I came across an interesting issue/requirement with our Business Data List WebPart. The issue is “Data fetched from an External datasource via  BCS (External Content Type) need to be displayed on OOB Business DataList Webpart with proper formatting and  sorting”.
by Tomer Weinberg
A piece of code you can copy paste to transform TimeSpan into user readable UI text

Research Library

Due to recent innovations in the mobile device industry, demand for...
75% of the Fortune 1000 companies will offer public APIs by 2014 and...
To assess how small and medium-sized businesses are focusing on growth...
At the Enterprise level, API initiatives must serve a diverse range of...

Discussions

by _groo_ on tip/trick "Obtaining Microsecond Precision in...
by amish kumar on Article "C# Date Time Parser"
by u7pro on Article "A SNTP Client for C# and VB.NET"
by Sergey Stoyan on Article "C# Date Time Parser"
by pwasser on tip/trick "How to decode the CIM_DATETIME...

All Articles