Click here to Skip to main content
15,881,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how to calculate difference between two dates( days,hours, minutes, sec) by taking two calenders, using custom controls in .ascx

when i click on the date of calender one and second click on calender two then by clicking the submit button days, hours, minutes, seconds should be displayed..

two calenders, textbox and submit button
Posted
Updated 16-Mar-12 0:19am
v2
Comments
infosoftsaranya 16-Mar-12 6:03am    
dfsfsdfgfrg

Please have a look:How-find-difference-between-two-Dates-C-or.aspx[^]
Good example with source code: Difference Dates[^]
 
Share this answer
 
v2
Use TimeSpan
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900