How do I only allow a user to insert a row into a relational table only once a day?

```
CREATE OR REPLACE TRIGGER trigger_name
BEFORE INSERT ON Table_name
declare date[type?]
count int := 0;
BEGIN
if(00:00 to sysdate)
END IF
END

```