CalendarFormat @Command (Formula Language)

Changes the Calendar view to display one day, two days, one work week, one week, two work weeks, two weeks, one work month, one month, or one year.

Syntax

@Command( [CalendarFormat] ; format )

Parameters

format

Text. Optional. Specify one of the following:

  • "1" specifies the one day display.
  • "2" specifies the two day display.
  • "5" specifies the one work week display.

  • "7" specifies the one week display.
  • "10" specifies the two work week display.

  • "14" specifies the two week display.
  • "20" specifies the one work month display.

  • "30" specifies the one month display.
  • "365" specifies the one year display. This option is only valid in Web applications.
    Note: Option "1" is new with Release 5.
    Note: Options "10" and "20" are new with Release 8.

Usage

With no parameters, CalendarFormat cycles to the next calendar display option, in this order: One Day, Two Days, One Work Week, One Week, Two Work Weeks, Two Weeks, One Work Month, One Month. With parameters, CalendarFormat changes to the designated display.

All options are supported for Web applications. Only options 1, 2, 5, 7, and 30 are supported for the standard environment. Only options 1, 2, 5, 7, 10, 14, 20, and 30 are supported for the basic environment.

A Calendar view must be open.