Calculate the Difference Between Two Dates Version 1.0

Submitted by: 
Visitors have accessed this post 11794 times.

This application calculates the difference between two dates. The results are broken down into days, hours, minutes, seconds, and milliseconds using C# programming language.

This is a simple C# .NET application that uses the TimeSpan and DateTime objects to calculate the difference between a start date and an end date. The dates are entered into the application using a DateTimePicker control.

If you find my work useful send me an email at jakerpomperada@yahoo.com. Be one of my friend in facebook.com my account address is jakerpomperada@yahoo.com. People here in the Philippines who want to contact me can reach me in my mobile phone number 09296768375 and my sun cellular no. 09326639972 and my landline numbre (034) 4335081.

I am also accepting programming job in C/C++, Java, Visual Basic, MS Access, Visual Foxpro, Foxpro For DOS, Clipper, Pascal, PHP/MySQL, BASIC and C# programming languages with very affordable price. Thank you very much and Happy Programming.


Mr. Jake Rodriguez Pomperada, MAED - Instructional Technology
Teacher, Systems Analyst, Programmer, Computer Technician and Electronics Technician

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.



i want source code for calculate the difference between two dates in visual basic, send to it my mail id pls. maddyrafi@gmail.com

i want source code for calculate the difference between two dates in visual basic, send to it my mail id plzzzzzzzzzzz.

thank you

sir plz...... send me the code on my id hamid_eng789@yahoo.com
it is not working

hello i want this code using php can u send me in my enail abrham.angeftu@yahoo.com

Add new comment

Filtered HTML

  • You may insert videos with [video:URL]
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <asp>, <c>, <cpp>, <csharp>, <css>, <html4strict>, <java>, <javascript>, <mysql>, <php>, <python>, <sql>, <vb>, <vbnet>. The supported tag styles are: <foo>, [foo].
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.