---
title: endDate
framework: photos
role: symbol
role_heading: Instance Property
path: photos/phassetcollection/enddate
---

# endDate

The latest creation date among all assets in the asset collection.

## Declaration

```swift
var endDate: Date? { get }
```

## Discussion

Discussion This property applies only to asset collections whose type is PHAssetCollectionType.moment. For other asset collection types, this property’s value is nil.

## See Also

### Reading Asset Collection Metadata

- [assetCollectionType](photos/phassetcollection/assetcollectiontype.md)
- [PHAssetCollectionType](photos/phassetcollectiontype.md)
- [assetCollectionSubtype](photos/phassetcollection/assetcollectionsubtype.md)
- [PHAssetCollectionSubtype](photos/phassetcollectionsubtype.md)
- [estimatedAssetCount](photos/phassetcollection/estimatedassetcount.md)
- [startDate](photos/phassetcollection/startdate.md)
- [approximateLocation](photos/phassetcollection/approximatelocation.md)
- [localizedLocationNames](photos/phassetcollection/localizedlocationnames.md)
