Hi All,
I have created a form and it has a field with DateTime type which records the inserted date and time of a new record. To do this I selected the option ‘DateTime of inclusion’ under Database value. (please see attached image)
This is working great but for some records I need to add different hours. For one table I need to add 2 hours and for another table I need to add 1.5 hours. How can I implement something like that in my application.
Basically I want to save the DateTime field with value = Current DateTime + 2 hours
SELECT NOW() + INTERVAL 90 MINUTE; (in phpmyadmin I can retrieve that using this query)
Thank you,
Cheers,
Gayan