Activate Culture
  • 18 Sep 2024
  • 1 Minute to read
  • Dark
    Light

Activate Culture

  • Dark
    Light

Article summary

General

This type of action is used to activate a culture which which will influence date and number formatting in subsequent actions and report document creations.

Properties

This type of action has the following properties:

Name

Description
Culture NameAn Expression that returns a String that returns the name of the culture to activate. This needs to be one of the values of the CultureInfo Code column of the  Culture Code List.

Example

If you add an Activate Culture action to the preparation actions of a Report to en-US. In an expression element of the report you use the following expression:

Mail & Deploy Expression

Format(Date.Today, "d")

The d format string specifier format the given date (in this example: the current date) to the short date format of the currently activate culture. Since en-US is activated, the date will be formatted using the MM/dd/yyyy format.


Was this article helpful?