U of A University Information Technology Services
Display Current or Last Modified DateTo automatically show the current date or last modified date on a web page, place a server side include (SSI) in the HTML code where you would like the date to appear on the page.
To have the last modified date of your file (the last time you edited your file) appear on the web page, use the following SSI: <!--#echo var="LAST_MODIFIED"--> The date will be formatted as: To have the current date and time appear on your Web page, use the following SSI: <!--#echo var="DATE_LOCAL"--> The date will be formatted as: To change the format of the date and/or time that appears on your page when using one of these SSIs, place the following line of code above the date/time SSI in the file and replace the elipsis (...) with a combination of the time format codes in the Time Formats table below and add any desired punctuation. (ex. %A:%B will result in Day:Month) <!--#config timefmt="..."--> Time Formats
|
http://uits.uark.edu/web/index_4762_ENG_HTML.htm





