---
title: addedToDirectoryDateKey
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/urlresourcekey/addedtodirectorydatekey
---

# addedToDirectoryDateKey

The time at which the resource’s was created or renamed into or within its parent directory, returned as an NSDate. Inconsistent behavior may be observed when this attribute is requested on hard-linked items. This property is not supported by all volumes. (read-only)

## Declaration

```swift
static let addedToDirectoryDateKey: URLResourceKey
```

## See Also

### Other resource keys

- [keysOfUnsetValuesKey](foundation/urlresourcekey/keysofunsetvalueskey.md)
- [quarantinePropertiesKey](foundation/urlresourcekey/quarantinepropertieskey.md)
- [attributeModificationDateKey](foundation/urlresourcekey/attributemodificationdatekey.md)
- [contentAccessDateKey](foundation/urlresourcekey/contentaccessdatekey.md)
- [contentModificationDateKey](foundation/urlresourcekey/contentmodificationdatekey.md)
- [creationDateKey](foundation/urlresourcekey/creationdatekey.md)
- [customIconKey](foundation/urlresourcekey/customiconkey.md)
- [documentIdentifierKey](foundation/urlresourcekey/documentidentifierkey.md)
- [effectiveIconKey](foundation/urlresourcekey/effectiveiconkey.md)
- [generationIdentifierKey](foundation/urlresourcekey/generationidentifierkey.md)
- [hasHiddenExtensionKey](foundation/urlresourcekey/hashiddenextensionkey.md)
- [isExcludedFromBackupKey](foundation/urlresourcekey/isexcludedfrombackupkey.md)
- [isExecutableKey](foundation/urlresourcekey/isexecutablekey.md)
- [isHiddenKey](foundation/urlresourcekey/ishiddenkey.md)
- [isReadableKey](foundation/urlresourcekey/isreadablekey.md)
