Username Password
Bookmark and Share

LastModified Macro

^LastModified("text","date format");
Displays the date that the current page was last edited. By default, the date is displayed based upon the user's date preferences. Optionally, it can take two parameters. The first is text to display before the date. The second is a date format string (see the date macro, ^D;, for details.

Example: ^LastModified("Updated: ","%c %D, %y");

If you would like to get the last modified time of Assets on a page, see the Date macro for an example.

This Macro may be nested inside other Macros if the text it returns does not contain commas or quotes.

Keywords: macro

Search | Most Popular | Recent Changes | Wiki Home
© 2023 Plain Black Corporation | All Rights Reserved