Forum OpenACS Q&A: Date/Time Function to Get Day of Week?

Is there an OpenACS date/time function that will return the day of the week (e.g. Monday,Tuesday....)? Thanks.
Collapse
Posted by Tilmann Singer on
lc_time_fmt - not sure if it is available on 4.6.3 already. In that case the tcl clock format command might be sufficient.
Collapse
Posted by Brian Fenton on
The following Oracle query will return today's day:

select to_char(sysdate, 'Day') from dual