DataFunction

View as Markdown

Functions that operate on a property value, for example.

Full nameMFiles.DataFunction
Proto filemfiles/enums.proto

Values

NameNumberDescription
DATA_FUNCTION_NO_OP0Returns the data without modifying it.
DATA_FUNCTION_YEAR1Gets the year of a date or timestamp value (e.g. 2004).
DATA_FUNCTION_MONTH2Gets the month of a date or timestamp value (e.g. "02").
DATA_FUNCTION_YEAR_AND_MONTH3Gets the year and month of a date or timestamp value (e.g. "2004-02").
DATA_FUNCTION_DATE4Gets the date part of a date or timestamp value (e.g. 2004-02-15).
DATA_FUNCTION_DAYS_FROM5Gets the difference of the current timestamp and a specified date or timestamp value as the number of days (e.g. 8 or -10).
DATA_FUNCTION_DAYS_TO6Gets the difference of a specified date or timestamp value and the current timestamp as the number of days (e.g. 10 or -8).
DATA_FUNCTION_INTEGER_SEGMENT7Gets the integer segment of a value (an integer number or a real number) based on a defined segment size.
DATA_FUNCTION_LEFT_CHARACTERS8Gets a defined amount of left characters from a text or typed value.
DATA_FUNCTION_INITIAL_CHARACTER_GROUP9Gets an initial character group from a text or typed value.

Used in fields