mirror of
https://github.com/MariaDB/server.git
synced 2025-11-13 01:06:13 +01:00
If one compiles with EXTENDED_MONTHS_BETWEEN MariaDB would take hours,
minutes, seconds and fractional seconds into account when comparing
dates when computing the fractional months.
For example
MONTHS_BETWEEN("1995-02-15 12:00:00", "1995-01-17 12:00:01") would
return "one day less" than if time part would not have been given.
|
||
|---|---|---|
| .. | ||
| r | ||
| t | ||