# SHOWDATETIME

The SHOWDATETIME function returns the date and time period based on a given set of arguments.

### Syntax <a href="#syntax" id="syntax"></a>

```javascript
SHOWDATETIME(timeZone, format)
```

### Arguments <a href="#arguments" id="arguments"></a>

timeZone- Select the UTC time zone. Required.

format- Define the date format to display the date and time. Optional.

### Return value <a href="#return-value" id="return-value"></a>

Date and time in UTC.

### Example <a href="#example" id="example"></a>

```javascript
SHOWDATETIME(TIMEZONE.[(UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna])
//Returns the date and time for the specified UTC timezone

SHOWDATETIME(TIMEZONE.[(UTC+00:00) Dublin, Edinburgh, Lisbon, London], 'DD-MMMM-YYYY hh:mm:ss A')
//Returns the date and time for the selected UTC timezone in the specified format
```

<figure><img src="/files/FepCcD5j5LRvWDRvMAOD" alt=""><figcaption><p>SHOWDATETIME</p></figcaption></figure>


---

# 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.fabricplan.com/planning-sheets/formula-syntax/date-functions/showdatetime.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.
