Examples: LastModified property (NotesItem - LotusScript®)

This agent gets the date that each item in the current document was last modified.

Sub Initialize
  Dim session As New NotesSession
  Dim doc As NotesDocument
  Set doc = session.DocumentContext
  Forall item In doc.Items
    Messagebox item.LastModified,, item.Name
  End Forall
End Sub