---
title: anchor
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/date/anchoredrelativeformatstyle/anchor
---

# anchor

The date the formatted output refers to from the perspective of the input values.

## Declaration

```swift
var anchor: Date
```
