Platforms to show: All Mac Windows Linux Cross-Platform

Back to FolderItem class.

FolderItem.AccessDateMBS(UTC as boolean = false) as date

Type Topic Plugin Version macOS Windows Linux iOS Targets
property Files MBS Util Plugin 10.1 ✅ Yes ✅ Yes ✅ Yes ❌ No Desktop, Console & Web
The access date of the file or folder.
Example
dim f as FolderItem = SpecialFolder.Desktop.Child("test.txt")
dim xd as date = f.AccessDateMBS
MsgBox xd.LongDate+" "+xd.LongTime

Setting this value is not supported on Linux currently.

To query Spotlight's Last Open day, please check the FAQ for sample code.
If UTC is true, you get/set date object where time is UTC.
(Read and Write computed property)

Some examples using this property:

The items on this page are in the following plugins: MBS Util Plugin.


The biggest plugin in space...