The mgiFileLastModified Tag

Tag Behavior

The mgiFileLastModified tag displays the date and time that a page was most recently changed.


Tag Syntax

The mgiFileLastModified tag has no required parameters and no optional parameters. The tag form is:

<mgiFileLastModified fileLocation="File Path" format="Format">

Required Parameters:

  • None.

Optional Parameters:

  • fileLocation="File Path" where "File Path" is the relative path to the file whose last modified date you wish to display. If the fileLocation parameter is not included, the last modified date of the file containing the mgiFileLastModified tag will be displayed.
  • format="Format" where "Date" indicates that the last modified date will be displayed as a date only and "DateAndTime" indicates that the last modified date will be displayed as the date and time. The default is "DateAndTime".


Example Usage and Output

<mgiFileLastModified>

The mgiFileLastModified tag displays the date and time a file was last changed in the following format:

Sat, 20 Feb 1999 08:45:37 GMT


Suggested Usage

  • Server Side Includes


[Return to the Referencing MGI Menu]


[User Guide Main Menu] [Understanding MGI Menu] [Using MGI Menu] [Referencing MGI Menu]