# Last Edit Date

The {exp:last_edit_date} single tag is the only thing that Last Edit Date does. You can control a few things with the following parameters.

# Parameters

Tag Parameters
												
entry_id="23|36"
not_entry_id="82|18"
url_title="my-entry|my-other-entry"
not_url_title="another-entry|other-content"
channel_id="2|4"
not_channel_id="3|5"
channel="my-channel|my-other-channel"
not_channel="another-channel|more-channels"
category_id="2|3"
not_category_id="4|5"
category_url_title="my-category|my-other-category"
not_category_url_title="another-category|more-categories"
category_group_id="2|3"
not_category_group_id="4|5"
status="open|other"
not_status="draft|other"
show_future_entries="true"
show_expired_entries="true"
format="%d-%m-%Y"
												
											

Here are a few specific notes for some of the parameters:

Not Parameter Counterparts

As you can see from the reference above, all applicable parameters have not_ parameter counterparts. Specifying these excludes them.

Pipe Delimited

As you can also see from the reference above, all applicable parameters support pipe-delimited lists.

Formatting the date (format="%d-%m-%Y")

Formatting uses the same formatting variables as ExpressionEngine‚Äôs native date formatting. If no format is specified, a Unix timestamp will be returned.

Default Status status="open|other"

If no status or not_status parameter is provided, the status defaults to open.

show_future_entries and show_expired_entries take “truthy”

You can use the following values on these params to indicate you want future or expired entries:

  • y
  • yes
  • true
Example
												
{exp:last_edit_date
	channel_id="4|5"
	format="%d-%m-%Y"
	status="open|other"
}