Geeks With Blogs
Brian Lachniet

I ran across a problem recently sorting objects by a DateTime property. The problem was that the DateTime structure object in C# is actually only precise to about 16 milliseconds on most machines, and my stored times were much closer together than that. Here's a good article with more information http://csharpfeeds.com/post/13441/Precision_and_accuracy_of_DateTime.aspx.

Posted on Thursday, March 3, 2011 2:30 AM C# | Back to top


Comments on this post: C# DateTime Precision

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © blachniet | Powered by: GeeksWithBlogs.net