About 239,000 results
Open links in new tab
  1. SQL Server DATEDIFF() Function - W3Schools

    Aug 25, 2017 · The DATEDIFF() function returns the difference between two dates, as an integer. Syntax

  2. SQL Server DATEDIFF Function By Practical Examples

    In this tutorial, you will learn how to use SQL Server DATEDIFF() function to calculate the number of years, months, weeks, days,etc., between two dates.

  3. SQL Server DATEDIFF() Function - GeeksforGeeks

    Aug 23, 2024 · The DATEDIFF() function in SQL Server is a powerful tool used to calculate the difference between two dates or times. It returns an integer representing the number of date or …

  4. DATEDIFF (Transact-SQL) - SQL Server | Microsoft Learn

    Transact-SQL reference for the DATEDIFF function. Returns the numerical difference between a start and end date based on datepart.

  5. SQL DATEDIFF Function - SQL Tutorial

    This tutorial shows you how to use the SQL DATEDIFF() function to calculate the difference between two dates.

  6. SQL DATEDIFF Function Use and Examples - SQL Server Tips

    Jan 14, 2022 · The DATEDIFF function returns the difference between two dates according to the datepart specified: such as year, day, month, etc. Syntax DATEDIFF(datepart, date1, date2)

  7. SQL Server: DATEDIFF Function - TechOnTheNet

    This SQL Server tutorial explains how to use the DATEDIFF function in SQL Server (Transact-SQL) with syntax and examples. In SQL Server (Transact-SQL), the DATEDIFF function …

  8. DATEDIFF() Examples in SQL Server - Database.Guide

    Jun 3, 2018 · In SQL Server, you can use the T-SQL DATEDIFF() function to return the difference between two dates/times. It works on any expression that can be resolved to a time, date, …

  9. DATEDIFF - SQL Tutorial

    Jan 1, 2022 · For example, if you want to calculate the number of days between two dates, you can use the following SQL query: This query will return the number of days between January …

  10. DATEDIFF() SQL FUNCTION - DataCamp

    Dec 6, 2024 · DATEDIFF() is one of the most widely used date and time manipulation functions in SQL. This tutorial will guide you through its usage, syntax, and key differences across popular …

  11. Some results have been removed
Refresh