About 51 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. 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 …

  4. 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 …

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

    I am looking for a way to implement the SQLServer-function datediff in PostgreSQL. That is, this function returns the count (as a signed integer value) of the specified datepart boundaries crossed

  6. Datediff function between a date column and current date?

    How can I correctly calculate the difference in days or years between a date column and the current date? typically would use where date_diff('day, date_column1, date_column2) as difference So...

  7. 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?

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

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

  9. 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, …

  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