I'm not sure that the GetDetailsOf method is directly available for folders in the FileSystemObject library. It's available in the Shell object instead though:
Sub TestGetDetailsOf()
Dim FileItem As Variant
Dim oShell As Object
Dim oDir As Object
Set oShell = CreateObject("Shell.Application")
Set oDir = oShell.Namespace("C:\Temp")
For Each FileItem In oDir.Items
Debug.Print FileItem.Name & " - Date Taken: " & oDir.GetDetailsOf(FileItem, 25)
Next
End Sub
As Paul has stated above, the numbers change depending on system and versions.