# SHOWDATETIME

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

## Syntax

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

## Arguments

timeZone- Select the UTC time zone. Required.

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

## Return value

Date and time in UTC.

## Example

{% code fullWidth="false" %}

```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
```

{% endcode %}

{% hint style="info" %}
This is available in the Reporting Matrix.
{% endhint %}

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FI6MYgPWpZYEcFboV7nTs%2Fimage.png?alt=media&#x26;token=d21ae5cd-0111-437f-a94d-a3a85c66d904" alt=""><figcaption><p>Show date and time function</p></figcaption></figure>
