Function Variables

The following variables can be used directly in any output.

Dates

Variables relating to dates.

#NameTypeDescription/CommentsExample
1v_DateEndOfMonthdatetimeThe end of the current months date.{{DisplayDate(v_DateEndOfMonth)}}
2v_DateEndOfWeekdatetimeThe end of the current weeks date.{{DisplayDate(v_DateEndOfWeek)}}
3v_DateEndOfYeardatetimeThe end of the current years date.{{DisplayDate(v_DateEndOfYear)}}
4v_DateNowdatetimeThe current date and time.{{DisplayDate(v_DateNow)}}
5v_DateStartOfMonthdatetimeThe start of the current months date.{{DisplayDate(v_DateStartOfMonth)}}
6v_DateStartOfWeekdatetimeThe start of the current weeks date.{{DisplayDate(v_DateStartOfWeek)}}
7v_DateStartOfYeardatetimeThe start of the current years date.{{DisplayDate(v_DateStartOfYear)}}
8v_DateTodaydatetimeThe date tomorrow.{{DisplayDate(v_DateToday)}}
1v_DateEndOfMonthdatetimeThe end of the current months date.{{DisplayDate(v_DateEndOfMonth)}}

Outputs

Variables relating to features of the output.

#NameTypeDescription/CommentsExample
9v_ForEmailbooleanWhether generating an email.{{IF(v_ForEmail)}}For Email{{ENDIF}}
10v_OutputClassstringThe output class including quotes.The output class is {{v_OutputClass}}
11v_OutputClass_NqstringThe output class excluding quotes.The output class is {{v_OutputClass_Nq}}
12v_OutputTablestringThe output table including quotes.The output table is {{v_OutputTable}}
13v_OutputTable_NqstringThe output table excluding quotes.The output table is {{v_OutputTable_Nq}}

Grouping

Variables relating to grouping during the output.

#NameTypeDescription/CommentsExample
14v_RecordCountintegerThe total number of records found.{{IF(v_RecordCount > 5)}}Content{{ENDIF}}
15v_RecordGroupCountintegerThe total number of records found in the current group.{{IF(v_RecordGroupCount > 5)}}Content{{ENDIF}}
16v_RecordGroupFirstbooleanWhether the current record is the first record in the current group.{{IF(v_RecordGroupFirst)}}First Item{{ENDIF}}
17v_RecordGroupIndexintegerThe current index of the record in the current group starting at 1.{{IF(v_RecordGroupIndex == 1)}}First Item{{ENDIF}}
18v_RecordGroupLastbooleanWhether the current record is the last record in the current group.{{IF(v_RecordGroupLast)}}Last Item{{ENDIF}}