Skip to content

DATEDIFF HOUR INCORRECT ANSWER #7460

@Gugu04

Description

@Gugu04

Hello, someone has experienced something similar with the DATEDIFF function Firebird 3.0.10

Example
SELECT DATEDIFF(HOUR, TIMESTAMP '14.12.2022, 11:46:33.405', TIMESTAMP '14.12.2022, 12:00:21.710') FROM RDB$DATABASE

Captura desde 2023-01-27 13-12-14

As a result, it shows me 1 hour when it should show 0 since it is a difference of minutes and it does not meet the fact that it is an hour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions