# Modify Date

Alters a timestamp by incrementing or decrementing in a format accepted by PHP's native [`strtotime()`](http://php.net/manual/en/function.strtotime.php) method.


```yaml
date: January 1, 2000
```

::tabs

::tab antlers
```antlers
{{ date | modify_date("-1 day") }}
{{ date | modify_date("next Sunday") }}
{{ date | modify_date("+3 months") }}
```
::tab blade
```blade
{{ Statamic::modify($date)->modifyDate('-1 day') }}
{{ Statamic::modify($date)->modifyDate('next Sunday') }}
{{ Statamic::modify($date)->modifyDate('+3 months') }}
```
::

```html
December 31, 1999
January 2, 2000
April 1, 2000
```

:::tip
This modifier returns a **copy** of the date — the original variable is left untouched for any additional modifiers.
:::

:::warning
By default, when using a modifier on a date variable, it will be operating on the UTC date rather than the localized date.

Please refer to our [Timezones](/tips/timezones.md) guide for more information.
:::
