# Convert Date To Timestamp ?

With the help of this wildcard, an existing date can be converted to a Unix timestamp (always includes date and time). The time will always be interprested as 00:00:00. The wildcard is used in the following way:

* {convert.date.to\_timestamp.?}
* For the following input (?) -> 2020-03-21
* The output is going to be -> 1584748800000 \[Unix timestamp]

{% hint style="warning" %}
The input format for the date should adhere to the following pattern: YYYY-MM-DD.\
It is not possible to use a date-time string for this wildcard!
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/helmut4-components/streamdesigner/wildcards/date-and-time-21/convert-date-to-timestamp.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
