> For the complete documentation index, see [llms.txt](https://wedocs.gitbook.io/wedocs-5.1/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wedocs.gitbook.io/wedocs-5.1/wedocs-4.5-es_es/cliente-desktop/recursos-extras-de-dashboards/formulas/constantes.md).

# Constantes

{% hint style="success" %}
**currD**

Fecha actual.

***

**Sintaxis**:

@currD

***

**Devuelve**:

Número

***

**Ejemplo**:

@currD ›› 44781
{% endhint %}

{% hint style="success" %}
**currDT**

Fecha/Hora actual.

***

**Sintaxis:**

@currDT

***

**Devuelve:**

Número

***

**Ejemplo:**

@currDT ›› 44781.3880841551
{% endhint %}

{% hint style="success" %}
**currT**

Hora actual.

***

**Sintaxis:**

@currT

***

**Devuelve:**

Número

***

**Ejemplo:**

@currT ›› 0.388659837961313
{% endhint %}

{% hint style="success" %}
**currValue**

Último valor procesado en un script.

***

**Sintaxis:**

@currValue

***

**Devuelve:**

Cualquier tipo

***

**Nota:**

Esta constante solo existe dentro de un script y solo a partir de la segunda expresión.

***

**Ejemplo:**

@currValue
{% endhint %}

{% hint style="success" %}
**currYM**

Año/mes actual.

***

**Sintaxis:**

@currYM

***

**Devuelve:**

Número

***

**Ejemplo:**

@currYM ›› 202208
{% endhint %}

{% hint style="success" %}
**e**

Constante natural E.

***

**Sintaxis:**

@e

***

**Devuelve:**

Número

***

**Ejemplo:**

@e ›› 2.71828182845905
{% endhint %}

{% hint style="success" %}
**false**

Falso.

***

**Sintaxis:**

@false

***

**Devuelve:**

Booleano

***

**Ejemplo:**

@false ›› 0
{% endhint %}

{% hint style="success" %}
**lineBreak**

Salto de línea.

***

**Sintaxis:**

@lineBreak

***

**Devuelve:**

Texto

***

**Ejemplo:**

@lineBreak ›› " "
{% endhint %}

{% hint style="success" %}
**null**

Nulo.

***

**Sintaxis:**

@null

***

**Devuelve:**

Nulo

***

**Ejemplo:**

@null ›› @null
{% endhint %}

{% hint style="success" %}
**oneDay**

Un valor numérico que representa casi un día completo 0.23:59:59.999.

***

**Sintaxis:**

@oneDay

***

**Devuelve:**

Número

***

**Ejemplo:**

@oneDay ›› 0.999999988425926
{% endhint %}

{% hint style="success" %}
**parentFieldValue**

Valor del campo padre.

***

**Sintaxis:**

@parentFieldValue

***

**Devuelve:**

Cualquier tipo

***

**Ejemplo:**

@parentFieldValue
{% endhint %}

{% hint style="success" %}
**pi**

Constante matemática PI.

***

**Sintaxis:**

@pi

***

**Devuelve:**

Número

***

**Ejemplo:**

@pi ›› 3.14159265358979
{% endhint %}

{% hint style="success" %}
**timestampFormatMask**

Máscara de formato Timestamp.

***

**Sintaxis:**

@timestampFormatMask

***

**Devuelve:**

Número

***

**Ejemplo:**

@timestampFormatMask ›› "yyyy-mm-dd'T'hh:nn:ss.zzz'Z'"
{% endhint %}

{% hint style="success" %}
timestampParseMask

Máscara de interpretación Timestamp.

***

**Sintaxis:**

@timestampParseMask

***

**Devuelve:**

Número

***

**Ejemplo:**

@timestampParseMask ›› "yyyy-mm-dd'T'hh:nn:ss.zzzt"
{% endhint %}

{% hint style="success" %}
**timezoneOffset**

Desplazamiento de zona horaria en minutos.

***

**Sintaxis:**

@timezoneOffset

***

**Devuelve:**

Número

***

**Ejemplo:**

@timezoneOffset ›› -180
{% endhint %}

{% hint style="success" %}
**true**

Verdadero.

***

**Sintaxis:**

@true

***

**Devuelve:**

Booleano

***

**Ejemplo:**

@true ›› 1
{% endhint %}
