Servertec | #config

Content Introduction Release Notes Features FAQs Requirements Installation Add-ons How To Change Log Future Plans Knowledge Base Documentation Conventions Users Reference iServer API Servlet API CGI SSI #config #echo #exec #flastmod #fsize #include Servlets Config Files Log Files Classes Directory Tree Samples Sales Legal Feedback |
Used to set the format for time/date stamps, error messages and files sizes. #### Syntax <!-- #config field = "format" --> #### Parameters
field | format
ERRMSG | The message to use when an error occurs.
TIMEFMT | The time format to use when inserting date values.
%a | Abbreviated name of day. Sun
%A | Name of day. Sunday
%b | Abbreviated name of month. Jan
%B | Name of Month. January
%c | Locale date and time. MM/DD/YY HH:MM:SS
%C | Locale date and time. MM/DD/YYYY HH:MM:SS
%d | Day of month. [ 01 .. 31 ]
%g | The era. AD
%H | Hour in AM/PM. [ 01 .. 12 ]
%I | Hour in day. [ 00 .. 23 ]
%J | Day of the year. [ 000 .. 366 ]
%m | The month. [ 01 .. 12 ]
%M | The minutes. [ 00 .. 59 ]
%p | The locale AM/PM. AM
%S | The seconds. [ 00 .. 59 ]
%U | Week of the year. [ 00 .. 51 ]
%w | Day of the week. [ 0 .. 6 ]
%W | Week of the year. [ 00 .. 51 ]
%x | Locale date. MM/DD/YY
%X | Locale time. HH:MM:SS
%y | The year. 98
%Y | The year. 1998
%z | The time zone. EST
%% | Percent sign. %
text | Any text to be literally inserted. Date:
SIZEFMT |
ABBREV | Size in kilobytes.
BYTES | Size in bytes.
#### Returns
Nothing |
#### Examples <!-- Ignore errors --> <!-- #config ERRMSG = "" -->
top of page
| Copyright © 1997-2000 Servertec. All rights reserved. Last Modified: Sun Jan 09 19:34:12 EST 2000