Looking for answers? We have them! Click for live online support, or search the CWS knowlegebase for answers to all of your questions! If you still need assistance, feel free to call us at 888-426-7793!
Search Support:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

How can I configure server information printed to my page?
The config command can be used to configure the standard output of various environment variables. In the following example, two SSI commands are used in conjunction to produce an alternative date and time format:

This code
<!--#config timefmt="%A, %B %d, %Y %I:%M%p" -->
<!--#echo var="date_local" -->

will display
Sunday, July 06, 2008 02:04AM

Variable Displays
%A Full weekday name
%B Full month name
%d Day of the month
%Y Year
%I Hour
%M Minutes
%p a.m. or p.m.

 


Related Support Items:
Server Side Includes

©1997-2002 Corporate Web Services, Inc., all rights reserved