---
title: "userCurrentDate"
canonical: "https://support.appfire.com/space/PSJC/607454057/userCurrentDate"
format: markdown
---
> Macro (aura-html)


## Description

> Macro (excerpt)
> 
> Returns the user current locale date

Returns the user current locale date, in the time-zone of the user. If it is not set, returns a null date

|  |  |  |  |
| --- | --- | --- | --- |
| **Syntax** | userCurrentDate(accountId) | **Package** |  |
| **Alias** |  | **Pkg Usage** |  |

## Parameters

| Parameter name | Type | Required | Description |
| --- | --- | --- | --- |
| accountId | string | Yes | The account Id |

## Return Type

**date**

Returns the user local date

## See also

> Macro (contentbylabel)