Xojo.IO.FolderItem.CreationDate
From Xojo Documentation
Property (As Xojo.Core.Date )
aXojo.IO.FolderItem.CreationDate = newXojo.Core.DateValue
or
Xojo.Core.DateValue = aXojo.IO.FolderItem.CreationDate
Supported for all project types and targets.
or
Xojo.Core.DateValue = aXojo.IO.FolderItem.CreationDate
Supported for all project types and targets.
The creation date of the FolderItem.
Notes
In order to change the creation date, you need to create a new Date and then assign it to this property. Changing the CreationDate property directly will not cause the date to actually get changed.
Exceptions
- RuntimeException if the creation date can not be changed when attempting to set a new date.
Sample Code
Get the creation date:
To change the creation date: