Example:
- If the current time is 2018-05-17 22:45:30 and the desired interval is
INTERVAL '10 minute', then the desired output is 2018-05-17 22:50:00. - If the current time is 2018-05-17 22:45:30 and the desired interval is
INTERVAL '1 hour', then the desired output is 2018-05-17 23:00:00. - If the current time is 2018-05-17 22:45:30 and the desired interval is
INTERVAL '1 day', then the desired output is 2018-05-18 00:00:00.