About 56 results
Open links in new tab
  1. Difference of two date time in sql server - Stack Overflow

    Jan 22, 2010 · Is there any way to take the difference between two datetime in sql server? For example, my dates are 2010-01-22 15:29:55.090 2010-01-22 15:30:09.153 So, the result should be 14.063 …

  2. Calculate difference between 2 date / times in Oracle SQL

    You can substract dates in Oracle. This will give you the difference in days. Multiply by 24 to get hours, and so on. SQL> select oldest - creation from my_table; If your date is stored as character data, you …

  3. How to calculate date difference in JavaScript? - Stack Overflow

    Oct 14, 2011 · I want to calculate date difference in days, hours, minutes, seconds, milliseconds, nanoseconds. How can I do it?

  4. SQL DateDifference in a where clause - Stack Overflow

    DateDiff is extremely fast... Your problem is you are running it on the database table column value, so the query processor must run the function on every row in the table, even if there was an index on …

  5. How to use DATEDIFF to return year, month and day?

    Oct 9, 2009 · How can I use DATEDIFF to return the difference between two dates in years, months and days in SQL Server 2005 DATEDIFF (date , date) How to result that: 2 year 3 month 10 day Can …

  6. sql server - How to get difference of days/months/years (datediff ...

    How to get difference of days/months/years (datediff) between two dates? Asked 12 years, 9 months ago Modified 4 years, 7 months ago Viewed 378k times

  7. How to calculate time difference between 2 DateTime fields in SSRS

    Jun 18, 2013 · Assuming your columns are actually DateTime data types, your DateDiff expression should look like this: =DateDiff(DateInterval.Minute, Fields!tour_start_time.Value, …

  8. t sql - How to calculate difference in hours (decimal) between two ...

    I have to calculate the difference in hours (decimal type) between two dates in SQL Server 2008. I couldn't find any useful technique to convert datetime to decimal with 'CONVERT' on MSDN. Can any...

  9. SQL Datediff - find datediff between rows - Stack Overflow

    Apr 20, 2011 · SQL Datediff - find datediff between rows Asked 15 years ago Modified 4 years, 11 months ago Viewed 40k times

  10. SQL DateDiff without weekends and public holidays

    SQL DateDiff without weekends and public holidays Asked 10 years, 3 months ago Modified 5 years, 5 months ago Viewed 28k times