Microsoft
Software
Hardware
Network
Question : Get Date Diffrence in Hours & Minutes in C#
Hello,
I want to get the date diffrence between two date.
I already used TimeSpan for that. But it wont work properly in the case of end of month or year.
So Give me solution ASAP.
Answer : Get Date Diffrence in Hours & Minutes in C#
Use Sql Statement select datediff(day,'02-02-2010',
getdate())
and take it on Datatable ..
In Sql you can easilt find datediff
Random Solutions
Migrating files/folders to a new domain
Hide local user folders on Server 2008 desktop
Schedule Task "Could not start"
Database Design - Double Entry Accounting
Crystal Reports for Visual Studio 2010
How to find and replace specific string with blank using sed or any better cmd?
How to activate the insertitemtemplate of a formview
How to access class due to 'cannot instantiate abstract class' error
IF - Then script based on file date?
Cannot enable infopath in sharepoint 2010