how to use datediff in my query to get the difference between two time form the table i wrote a query but its may have some errors and not working
i am using sql express with VS 2010 i want to get these columns and trying to display them in the DGV on the form thanks
VB.NET:
Select [Date],[TimeIn], [TimeOut], DateDiff(m, TimeIn, TimeOut) as Duration from [dbo].[Logs] WHERE PhoneNo = '"+lblphoneno.text+"'"