Click here to Skip to main content
14,667,169 members
Rate this:
Please Sign up or sign in to vote.
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

Rate this:
Please Sign up or sign in to vote.

Solution 2

Please have a look:How-find-difference-between-two-Dates-C-or.aspx[^]
Good example with source code: Difference Dates[^]
   
v2
Rate this:
Please Sign up or sign in to vote.

Solution 3

Use TimeSpan
   

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




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100