> ## Documentation Index
> Fetch the complete documentation index at: https://docs.e6data.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GETUTCDATE

> Returns the current UTC date.

<div className="e6-meta"><span className="e6-eyebrow e6-eyebrow--quiet">Scalar function</span></div>

Returns a non-NULL UTC date; the optional argument is ignored.

## Syntax

### Default (scalar)

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
getutcdate()
```

### Compatibility (scalar)

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
getutcdate(format)
```

## Arguments

default: Takes no arguments.

### Compatibility

| Name | Type | Required | Description |
| - | - | - | - |
| format | STRING | No | Optional compatibility argument; ignored. Default: No formatting is performed. |

## Returns

* Type: DATE
* NULL behavior: Returns a non-NULL UTC date; the optional argument is ignored.

## Properties

| Property | Value |
| - | - |
| Deterministic | No |
| Exact result | Yes |

## Usage notes

* This E6 function returns DATE, not the SQL Server datetime result.
* Deterministic: Depends on the host clock and can differ over time.

## Examples

### Current UTC date

```sql theme={"theme":{"light":"github-light","dark":"github-dark"}}
SELECT getutcdate() AS result;
```

Variable result: The UTC calendar date at execution time.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.