This website uses Cookies. Click Accept to agree to our website's cookie use as described in our Privacy Policy. Click Preferences to customize your cookie settings.
It depends some on what your underlying SQL language is - we use Impala,
and for Impala at least, the datediff() function only takes two
arguments, both dates, and returns the difference. It looks like this
dialect takes a date part, then a start dat...