---
title: DateHeaderFilter
description: Inserts the server date in an HTTP Date header on the response, if the Date header isn't present.
component: pinggateway
version: 2026
page_id: pinggateway:reference:DateHeaderFilter
canonical_url: https://docs.pingidentity.com/pinggateway/2026/reference/DateHeaderFilter.html
revdate: 2025-06-02T18:01:47Z
section_ids:
  DateHeaderFilter-usage: Usage
  DateHeaderFilter-properties: Properties
  DateHeaderFilter-example: Example
  DateHeaderFilter-moreinfo: More information
---

# DateHeaderFilter

Inserts the server date in an HTTP `Date` header on the response, if the `Date` header isn't present.

## Usage

```json
{
  "type": "DateHeaderFilter"
}
```

## Properties

There are no configuration properties for this filter.

## Example

The following example includes a DateHeaderFilter in a chain:

```json
{
  "condition": "...",
  "handler": {
    "type": "Chain",
    "config": {
      "filters": [{
          ...
        },
        {
          "type": "DateHeaderFilter"
        }
      ],
      "handler": {
        "name": "StaticResponseHandler-1",
        ...
      }
    }
  }
}
```

## More information

You can find more information about Date format in [RFC 7231 - Date](https://www.rfc-editor.org/rfc/rfc7231#section-7.1.1.2).

This filter is also available to support Financial-Grade API. Learn more in [Financial-grade API Security Profile 1.0 - Part 1: Baseline](https://openid.net/specs/openid-financial-api-part-1-1_0.html).

[org.forgerock.openig.filter.DateHeaderFilter](../_attachments/apidocs/org/forgerock/openig/filter/DateHeaderFilter.html)
