SQL DATEDIFF

SQL Server DATEDIFF Function will find or Calculate the difference between Start Date and End Date. The SQL datediff function always returns a signed integer value. For example, If you want to extract the year, month, or quarter from the existing Date, you can use this SQL Server Datediff function. SQL DATEDIFF Function Syntax DATEDIFF(Datepart, … Read more