I have a table
Table Schema:
CREATE TABLE CHARGES ( total NUMBER(30), admitdate TIMESTAMP(6), dischargedate TIMESTAMP(30) )
To run a piece of code on a specific time, you can use jobs. Triggers are there only to respond to table changes. If the server is down (which it should hardly ever be), the job can be run at a later time.