Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mariadb hours between two dates

SELECT 
    order_logs.order_logs_created,
    TIMESTAMPDIFF(HOUR,
        order_logs.order_logs_created,
        NOW())
FROM
    order_logs
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mariadb #hours #dates
ADD COMMENT
Topic
Name
4+8 =