BBC.SHARED.VARA@EXEC.GET-DATE

Summary

Description

 This variables provides a list of different dates. It can be used to set default values for promptset values or also in Automation Engine scripts. All dates are formatted using the ISO 8601 format (YYYY-MM-DD).

Available keys in the variable are:

  • TODAY - date of today
  • TOMORROW - date of tomorrow
  • THIS-YEAR - the current year in the format YYYY
  • THIS-MONTH - current month in the format MM
  • 1-WEEK - one week / 7 days in the future
  • 2-WEEKS - 2 weeks in the future
  • 3-WEEKS - 3 weeks in the future
  • 1-MONTH - one month in the future
  • 1-QUARTER - one quarter in the future

Example

Retrieve the date of tomorrow

{BBC.SHARED.VARA@EXEC.GET-DATE, TOMORROW, 2}
Object type
VARA
Object Folder
PACKAGES/BEST-BLU/BBC.SHARED/SOURCE/DATA
Title
Provides different dates
Archive Key 1
-
Archive Key 2
-
Created
WRITER/B4A am: 2022-02-28 14:47:14
Last Modified
WRITER/B4A am: 2024-01-09 09:57:41 18 x
Last Used
-

Execute

Execute Object
BBC.SHARED.SCRI.GET-DATE
Result Variable
&BBCS_DATES_O#

Attributes

Data & Formatting

Data Type
TEXT
Force Upper Case

Script Access

If key not found
INITIAL_VALUES