TUTORIAL INDEX

MySQL DATEDIFF()

|

DATEDIFF()
It returns the number of days between two given dates as the output.

Syntax:

DATEDIFF(date1, date2)

Example:

14

    

Output:

 
2025-04-17

ONLINE WEB TOOLS

WhatIsMyIpAddress
Shorterner