I have a field which is a datetime, this field returns the following date / time:
2018-05-16 14:37:45
What I would like is to be able to subtract 5 hours from that date and make it look like this:
2018-05-16 09:37:45
I could achieve this with the function of DATE_ADD
but I like to believe that there could be another, easier way to achieve what I want. Any other way to make it easier?
DATE_ADD(ov.hora_llegada, INTERVAL -5 HOUR)