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)'screenreader'
– Information on whether the questionnaire in display mode is presented for Screen Reader (boolean)'print'
– Information on whether a print preview of the questionnaire is currently being created (boolean, via Collected data → View data or the corresponding API-Function).'debug'
– Information on whether the questionnaire is displayed in debug mode (boolean)