DateDiff Example

0

Please login or register to vote for this query.

(click on this box to dismiss)

Emacs

Q&A for those using, extending or developing Emacs

SELECT DATEDIFF(DAY, 22/09/2021, 22/10/2021) AS DayDiff
SELECT DATEDIFF(MINUTE, 22/09/2021, 22/10/2021) AS MinuteDiff
SELECT DATEDIFF(SECOND, 22/09/2021, 22/10/2021) AS SecondDiff
SELECT DATEDIFF(WEEK, 22/09/2021, 22/10/2021) AS WeekDiff
SELECT DATEDIFF(HOUR, 22/09/2021, 22/10/2021) AS HourDiff

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results