# Date & Time Formatter

## /format-date-time

This endpoint formats the provided date and times from the query parameters into the specified formats and returns them in the response.

### Query Parameters

* `data`: (string) Date in the format "DD/MM/YYYY".
* `ora`: (string) Time in the format "HH:MM" (24-hour format).
* `ora2`: (string) Another time in the format "HH:MM" (24-hour format).

### Response

The response will contain a JSON object with the formatted date and times.

* `formattedDate`: (string) Date in the format "YYYY-MM-DD".
* `formattedTime1`: (string) Time 1 in the format "HH:MM".
* `formattedTime2`: (string) Time 2 in the format "HH:MM".

### Example

```json
{
    "formattedDate": "2024-04-22",
    "formattedTime1": "09:30",
    "formattedTime2": "17:00"
}
```


---

# 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.ziomark.xyz/get-endpoints/date-and-time-formatter.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.
