The #flastmod directive instructs the Web server to insert the time the specified file was modified into an HTML page. You must surround a directive with HTML comment delimiters.
This directive can be used only in HTML pages; it cannot be used in ASP pages.
<!-- #flastmod PathType = FileName -->
PathType
Specifies the type of the path to FileName. The path type can be one of the following:
Path Type | Meaning |
---|---|
File | The file name is a relative path from the directory containing the document with the #flastmod directive. |
Virtual | The file name is a full path from a virtual directory in your Web site. |
FileName
Specifies the name of the file for which you want the last modification time. FileName must contain the file name extension, and you must enclose the file name in quotation marks (").
The file containing the #flastmod directives must use a file name extension that is mapped to the SSI interpreter; otherwise, the Web server will not process the directives. By default, the extensions .stm, .shtm, and .shtml are mapped to the interpreter (Ssinc.dll). If you have Internet Service Manager installed, you can modify the default extension mappings and add new mappings; see Setting Application Mappings.
By default, the modification time is expressed as a date in the format DayName MonthName DayNumber YearNumber (for example, Tuesday June 3 1997). You can change the format by using the #config directive with the timefmt option.
<!-- #flastmod file = "mydocument.htm" -->