Tech Tutorials Database
GeekArticles Microsoft ASP.NET
 

The Darkness Behind DateTime.Now

 
Author: aspalliance.com
Category: ASP.NET
Comments (0)

DateTime.Now is one of the commonly-used properties in the .NET Framework in the majority of applications designed. Although this property is designed to serve for particular purposes, the lack of understanding and training has driven many .NET developers to use it in wrong circumstances where other options like DateTime.UtcNow property and Stopwatch class should be used and are recommended. In this article we discuss these three options along with the main applications of each, and provide a quantitative comparison between them to show why DateTime.Now is expensive and should not be misused in many cases.

Read More...




Sponsored Links




Read Next: Working with FusionCharts using ASP.NET



 

 

Comments



Post Your Comment:

Your Name:*
e-mail ID:(required for notification)*
Image Verification: 
 
 Subscribe