Xojo.IO.FolderItem.ModificationDate

From Xojo Documentation

Property (As Xojo.Core.Date )
aXojo.IO.FolderItem.ModificationDate = newXojo.Core.DateValue
or
Xojo.Core.DateValue = aXojo.IO.FolderItem.ModificationDate

Supported for all project types and targets.

The modification date of the FolderItem.

Notes

In order to change the modification date, you need to create a new Date and then assign it to this property. Changing the ModificationDate property directly will not cause the date to actually get changed.

Sample Code

Get the modification date:

Var modDate As Xojo.Core.Date
modDate = myFile.ModificationDate

To change the modification date:

Var newDate As New Xojo.Core.Date(2014, 8, 1)
myFile.ModificationDate = newDate