---
title: "applied(to:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/datefeatureextractor/applied(to:eventhandler:)"
---

# applied(to:eventHandler:)

Extracts features of a particular date.

## Declaration

```swift
func applied(to date: Date, eventHandler: EventHandler? = nil) -> [Scalar]
```

## Parameters

- `date`: The date.
- `eventHandler`: An event handler.

## Return Value

Return Value An array of feature values.
