DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR SQL
mysql get date difference in hours
SELECT TIMESTAMPDIFF(HOUR, '2021-05-22 07:00:00', '2021-05-22 12:00:37') as time_diff_in_hours;
PREVIOUS
NEXT
Tagged:
#mysql
#date
#difference
#hours
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit