Forum OpenACS Q&A: Response to Accessing the system clock

Collapse
Posted by Brian Fenton on
If I wanted to keep consistent times, I would you use my database as my clock.

In Oracle, you use the following:
select to_char(sysdate,'hh24:mi') as current_time from dual;

Related tip from bad experience: never change the OS time when the database is up. Ouch!