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 have server information printed to my page?

To have information such as the date, time, and the last modified information printed to your page you will need to use the echo command. The echo command can be used to display the content of the five server side environment variables listed in the table below.

Variable Description
Date_Local Current date and time (determined by server location).
Date_GMT Current date and time in Greenwich Mean Time.
Document_Name File name of the main document.
Document_URL Path and file name of the main document
Last_Modified Date and time the main document was last modified.

For Example
<!--#echo var="Date_Local" -->

will display
Sunday, 06-Jul-2008 02:03:12 CDT


Related Support Items:
Server Side Includes

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