Articles
DevASP - ASP and XML Articles, Samples, Toturials, Sample Chapters and resources for Developers Friday, October 24, 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

Report Error:
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.

If you would like to report an error or update for this listing please complete the form below.
Note: a Valid email is required for update request

Error/Update Type:   *
Description:
(Optional)
Your Name:   (Optional)
Your Email Address:   (Optional)
   

<< Back to listing

DevASP - Privacy - Disclaimer
Copyright 2008 DevASP.com