I want to compare the current time with submission with Datetime stamp to setup a controller which only shows submission of a specific time. Such as posts done in past hour, day or week.
So I don't get how to access current time. Does it need to be part of database? How can it be defined and how to compare it which post submissions?