The function info() returns meta-information about the current interview or illustration.
mixed info(string Attribut)
Depending on the parameter Attribut, the function returns the following data or information.
'time' – The current time (string, formatting depending on the displayed language)'date' – The current date (string, formatting depending on the displayed language)'datetime' – Date and time (string, formatting depending on the displayed language)'timestamp' – Returns the current UNIX timestamp (int)'language' – Current questionnaire language (string, three-digit language code)'print' – Information on whether a print preview of the questionnaire is currently being created (boolean, via Collected Data → View Data Set or the corresponding API-Function)'screenreader' – Information on whether the questionnaire in display mode is presented for Screen Reader (boolean)'speech.speed' – Speed of speech output (1 to 3) or 0 if speech output is not active.'color.inverse' – Indicates whether the display has been inverted (usually this is dark mode, boolean)'font.zoom' – Indicates whether the page is displayed with a larger font (boolean)'page' – Number of the current questionnaire page'pageID' – ID of the current questionnaire page (false if the page has no ID)'pageNames' – A list of all pages with page IDs and their descriptions (if available) as an array, with the page IDs serving as array keys'debug' – Information on whether the questionnaire is displayed in debug mode (boolean)