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

    Jan 22, 2010 · 20 I can mention four important functions of MS SQL Server that can be very useful: 1) The function DATEDIFF () is responsible to calculate differences between two dates, …

  2. SQL time difference between two dates result in hh:mm:ss

    Oct 1, 2012 · SQL time difference between two dates result in hh:mm:ss Asked 13 years ago Modified 1 year, 9 months ago Viewed 237k times

  3. sql - How to calculate age (in years) based on Date of Birth and ...

    Oct 15, 2009 · I have a table listing people along with their date of birth (currently a nvarchar(25)) How can I convert that to a date, and then calculate their age in years? My data looks as …

  4. Time difference with hours, minutes and seconds in SQL Server

    Jan 2, 2017 · Time difference with hours, minutes and seconds in SQL Server Asked 8 years, 11 months ago Modified 2 years, 1 month ago Viewed 31k times

  5. sql - Datediff between 2 columns in same table - Stack Overflow

    Datediff between 2 columns in same table Asked 12 years, 2 months ago Modified 3 years, 4 months ago Viewed 48k times

  6. Get last 30 day records from today date in SQL Server

    Dec 15, 2014 · Get last 30 day records from today date in SQL Server Asked 10 years, 11 months ago Modified 4 years, 4 months ago Viewed 334k times

  7. sql server - Calculating number of full months between two dates …

    DATEDIFF () is designed to return the number boundaries crossed between the two dates for the span specified. To get it to do what you want, you need to make an additional adjustment to …

  8. sql server - Calculate exact date difference in years using SQL

    sql sql-server datediff edited Apr 18, 2014 at 16:47 user330315 asked Apr 17, 2014 at 23:59

  9. sql - Count work days between two dates - Stack Overflow

    Oct 31, 2008 · How can I calculate the number of work days between two dates in SQL Server? Monday to Friday and it must be T-SQL.

  10. sql server - Date difference formatted in Days Hours Minutes …

    Is there a way to get the time remaining (difference) between two dates? For example I'd like to have it return 6 days, 10 hours, 3 minutes and 37 seconds.