Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

When using Magic Variables, please ensure they are enclosed in square brackets e.g. [[TODAY]]

User related

Variable

Description

Available since version

USERNAME

Current logged in user's username

 

USER_EMAIL

Current logged in user's email

 

LANGUAGE

Current logged in user's language definition, which mirrors LANGUAGE_LOCALE

 

LANGUAGE_LOCALE

Locale from language selection on the login screen (these selectable options are configured from dashboard installation on the server machine)

November 2021

LOCALE

Locale of a user's browser, which generally is used for date formatting (this reflects whatever locale a user set on their browser)

November 2021

Date/ Time related

Dates are formatted using YYYY-MM-DD by default. If the Database has a format configured, it will respect that format.

Variable

Description

Available since version

Variable

Description

Available since version

TODAY

Today's date (Default: YYYY-MM-DD)

 

YESTERDAY

Yesterday's date (Default: YYYY-MM-DD)

 

START_OF_WEEK

Date of the start of week (Default: YYYY-MM-DD)

 

END_OF_WEEK

Date of the end of week (Default: YYYY-MM-DD)

 

START_OF_LAST_WEEK

Date of the start of last week (Default: YYYY-MM-DD)

 

END_OF_LAST_WEEK

Date of the end of last week (Default: YYYY-MM-DD)

 

START_OF_MONTH

Date of the start of the month (Default: YYYY-MM-DD)

 

END_OF_MONTH

Date of the end of the month (Default: YYYY-MM-DD)

 

START_OF_LAST_MONTH

Date of the start of last month (Default: YYYY-MM-DD)

 

END_OF_LAST_MONTH

Date of the end of last month (Default: YYYY-MM-DD)

 

START_OF_YEAR

Date of the start of the year (Default: YYYY-MM-DD)

 

END_OF_YEAR

Date of the end of the year (Default: YYYY-MM-DD)

 

CURRENT_DAY

Current calendar day in DD format. E.g., 01, 02.

 

CURRENT_MONTH

Current month in MM format. . E.

 

CURRENT_MONTH_NAME

Current month name. E.g. January

August 2020

CURRENT_MONTH_SHORT_NAME

Current month short name. E.g. Jan

August 2020

CURRENT_YEAR

Current year in YYYY format

 

LAST_YEAR

Last year in YYYY format

 

CURRENT_WEEKDAY

Current week day. E.g. Friday

 

CURRENT_WEEK_NUMBER

Current week number. E.g. 52

August 2020

CURRENT_TIME

Current time (Default: hh:mm:ss)

August 2020

CURRENT_DATE_TIMEToday's date (Default: YYYY-MM-DD

Current date and time (Default: YYYY-MM-DD hh:mm:ss)

August 2020

CURRENT_HOURS

Current time (Default: hh)

August 2020

CURRENT_MINUTES

Current time (Default: mm)

August 2020

CURRENT_SECONDS

Current time (Default: ss)

August 2020

TIMEZONE

Timezone on the server. E.g. GMT

August 2020

LAST_MONTH

Last month in MM format. E.g. 01 for January, 02 for February

July 2023

LAST_MONTH_NAME

Last month full name. E.g. December

July 2023

LAST_MONTH_SHORT_NAME

Last month short name E.g. Dec

July 2023

LAST_MONTH_YEAR

The year (formatted yyyy) that the previous month was a part of E.g if the current month is Jan 2024 it would resolve to 2023

April 2024

START_OF_CURRENT_FINANCIAL_QUARTER

The start date of the current financial quarter based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

END_OF_CURRENT_FINANCIAL_QUARTER

The end date of the current financial quarter based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

START_OF_LAST_FINANCIAL_QUARTER

The start date of the last/previous financial quarter based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

END_OF_LAST_FINANCIAL_QUARTER

The end date of the last/previous financial quarter based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

START_OF_NEXT_FINANCIAL_QUARTER

The start date of the next financial quarter based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

END_OF_NEXT_FINANCIAL_QUARTER

The end date of the next financial quarter based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

START_OF_CURRENT_FINANCIAL_YEAR

The start date of the current financial year based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

END_OF_CURRENT_FINANCIAL_YEAR

The end date of the current financial year based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

START_OF_LAST_FINANCIAL_YEAR

The start date of the last/previous financial year based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

END_OF_LAST_FINANCIAL_YEAR

The end date of the last/previous financial year based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

START_OF_NEXT_FINANCIAL_YEAR

The start date of the next financial year based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

END_OF_NEXT_FINANCIAL_YEAR

The end date of the next financial year based on the financial year start month defined by START_OF_FINANCIAL_YEAR_MONTH variable

November 2024

START_OF_NEXT_WEEK

Date of the start of next week (Default: YYYY-MM-DD)

January 2025

END_OF_NEXT_WEEK

Date of the end of last week (Default: YYYY-MM-DD)

January 2025

START_OF_NEXT_MONTH

Date of the start of next month (Default: YYYY-MM-DD)

January 2025

END_OF_NEXT_MONTH

Date of the start of end month (Default: YYYY-MM-DD)

January 2025

START_OF_LAST_YEAR

Date of the start of the last year (Default: YYYY-MM-DD)

January 2025

END_OF_LAST_YEAR

Date of the end of the last year (Default: YYYY-MM-DD)

January 2025

START_OF_NEXT_YEAR

Date of the start of the next year (Default: YYYY-MM-DD)

January 2025

END_OF_NEXT_YEAR

Date of the end of the next year (Default: YYYY-MM-DD)

January 2025

START_OF_QUARTER

Date of the start of the current quarter (Default: YYYY-MM-DD)

January 2025

END_OF_QUARTER

Date of the end of the current quarter (Default: YYYY-MM-DD)

January 2025

START_OF_LAST_QUARTER

Date of the start of the last quarter (Default: YYYY-MM-DD)

January 2025

END_OF_LAST_QUARTER

Date of the end of the last quarter (Default: YYYY-MM-DD)

January 2025

START_OF_NEXT_QUARTER

Date of the start of the next quarter (Default: YYYY-MM-DD)

January 2025

END_OF_NEXT_QUARTER

Date of the end of the next quarter (Default: YYYY-MM-DD)

January 2025

CURRENT_DAY_SHORT_NUMBER

Current calendar day in D format. E.g. 1, 2.

January 2025

CURRENT_DAY_WITH_SUFFIX

Current calendar day with its appropriate suffix. E.g. 1st, 2nd, 23rd

January 2025

CURRENT_MONTH_SHORT_NUMBER

Current month in M format. E.g. 1 for January, 2 for February

January 2025

CURRENT_WEEKDAY_SHORT_NAME

Current week day abbreviated. E.g. 'Fri' for 'Friday', 'Sun' for 'Sunday'

January 2025

LAST_MONTH_SHORT_NUMBER

Last month in M format. E.g. 1 for January, 2 for February

January 2025

NEXT_YEAR

Next year in YYYY format

January 2025

NEXT_MONTH

Next month in MM format. E.g. 01 for January, 02 for February

January 2025

NEXT_MONTH_NAME

Next month full name. E.g. December

January 2025

NEXT_MONTH_SHORT_NAME

Next month short name E.g. Dec

January 2025

NEXT_MONTH_SHORT_NUMBER

Next month in M format. E.g. 1 for January, 2 for February

January 2025

NEXT_MONTH_YEAR

The year (formatted yyyy) that the next month is a part of. E.g. if the next current month is Dec 2024 it would resolve to 2025.

January 2025