Hello. Thanks for reading me.
Iam making a query to an API where I get information.
Performing the query, I get the creation date field of a file in this format.
yyyy-MM-dd hh:mm:ss : 2021-11-30 04:17:11
I need to make queries every 1 hour where I can fetch everything created from the query time until one hour before, that is from 2021-11:30 04:17:11 to 21-11-30 05:17:11 .
I already get the current time and the time 1 hour ago. I don't know how to put the condition to say if the creation date is in the range of 21-11-30 05:17:17:11 and 21-11-30 04:17:11.
Thanks