Articles
DevASP - ASP and XML Articles, Samples, Toturials, Sample Chapters and resources for Developers Thursday, October 23, 2014
Home
Articles & Samples
Dev Search
Sample Chapters
Link to US
Contact
Search Directory
Applications
Articles & Samples
Components
Community
Database
Developer Sites
Downloads
Hosting Services
Introduction
Knowledge Base
Sample Chapters
WebCasts
ASP Directory
Applications
Articles & Samples
Components
Developer Sites
Knowledge Base
Sample Chapters
WebCasts
XML Directory
Applications
Articles & Samples
Developer Sites
Error, Bugs & Fixes
Downloads
Introduction
Knowledge Base
Sample Chapters
WebCasts

FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase
User Reviews:

Home > Search > Knowledge Base > General Articles
How to find difference between two Dates in C# or VB.NET ?       
Total Hits: 487  |  Today: 0 Author: Mary Mathew       Rating:  
Read Reviews | Write Review |              Your Rating: 

It was an easy job with classic VB to find difference between 2 dates or times. Even though it is not very difficult, it is a tricky and confusing thing in C# and VB.NET.

See the following sample code, which demonstrates how to calculate the difference between two DateTime objects using C# syntax.

No reviews have been written for this listing.

Write Your Own Review

<< Back to listing

DevASP - Privacy - Disclaimer
Copyright 2008 DevASP.com