---
title: "removeCookies(since:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/httpcookiestorage/removecookies(since:)"
---

# removeCookies(since:)

Removes cookies that were stored after a given date.

## Declaration

```swift
func removeCookies(since date: Date)
```

## Parameters

- `date`: The date after which cookies should be removed.

## See Also

### Adding and removing cookies

- [deleteCookie(_:)](foundation/httpcookiestorage/deletecookie(_:).md)
- [setCookie(_:)](foundation/httpcookiestorage/setcookie(_:).md)
- [setCookies(_:for:mainDocumentURL:)](foundation/httpcookiestorage/setcookies(_:for:maindocumenturl:).md)
- [storeCookies(_:for:)](foundation/httpcookiestorage/storecookies(_:for:).md)
