this is the coding for different between 2 dates in day-hour-min-sec
Timespan obj= Datetime.Parse("5/24/1984")-DateTime.now; label3.text=string.Format("Only(0)days,(1)hours,(2)minutes,(3)seconds left)!",obj.Days,obj.Minutes,obj.Seconds);
|
| Author: Kapil Dhawan 18 Jun 2008 | Member Level: Gold Points : 2 |
Hello Nice piece of code Thanks for sharing your knowledge with us. I hope to see more good code from your side This code will help lots of guys Thanks to you Regards, Kapil
|