Index: openacs-4/packages/acs-core-docs/www/variables.html =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-core-docs/www/variables.html,v diff -u -r1.21.2.2 -r1.21.2.3 --- openacs-4/packages/acs-core-docs/www/variables.html 20 Oct 2005 18:06:37 -0000 1.21.2.2 +++ openacs-4/packages/acs-core-docs/www/variables.html 30 Nov 2005 05:21:57 -0000 1.21.2.3 @@ -3,7 +3,7 @@ by OpenACS documentation staff.

Date and Time Variables

Starting with OpenACS 5.0 and the introduction of acs-lang, we recommend retrieving date/time information from the database in - ANSI format and then using lc_time_fmt to format it for display.

Example�12.1.�Getting datetime from the database ANSI-style

db_multirow -extend { mydate_pretty } {
+    ANSI format and then using lc_time_fmt to format it for display.

Example�12.1.�Getting datetime from the database ANSI-style

db_multirow -extend { mydate_pretty } {
     select to_char(mydate, 'YYYY-MM-DD HH24:MI:SS') as mydate_ansi,
           ...
     ...