# Date

### **Description**‌

The Date function explicitly converts the input to a date value. The input must be a string matching the format "YYYY-MM-DD HH:MM:SS".

### **Syntax**

‌The syntax for the Date function is:

`Date(input)`

#### ‌**Parameters**

input - the string which is to be converted to a date.

### **Returns**

‌The Date function returns a date.

### **Example**‌

Let's look at some Date function examples and explore how to use the Date function.‌

```
Date("2021-03-10 14:00:00")
Result: 2021-03-10 14:00:00 (date)
```


---

# 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://help.novacuraflow.com/development/flowscript/functions/date-functions-1/date.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.
