Hi ,
I want to find out folder that are created 1 hour before current date . So i tried the below DQL function , but giving invalid syntax at 'hours'
select r_object_id,r_creation_date from dm_folder where folder('/UN/Edu/test',descend) and DATEDIFF(hours,r_creation_date,DATE(NOW)) > 1
When i try with day instead of hours , it works fine like DATEDIFF(day,r_creation_date,DATE(NOW)) > 1
How do i get date difference in Hours .
Any ideas please ..