SP.List.lastItemModifiedDate property (sp.js)

Gets a value that specifies the last time a list item, field, or property of the list was modified.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

var value = SP.List.get_lastItemModifiedDate ()
var value = SP.List.set_lastItemModifiedDate ()

Return value

Type: DateTime

Remarks

It must return Created if the list has not been modified.

REST resource endpoint

See List resource for more information.

Endpoint URI structure

http://<sitecollection>/<site>/_api/web/lists(listid)/lastItemModifiedDate

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/web/lists(listid)/lastItemModifiedDate

GET syntax

GET http://<sitecollection>/<site>/_api/web/lists(listid)/lastItemModifiedDate