view.archive. year

Year of the current archive view, e.g. 2016



Note that this is only present if the current view is an archive feed, i.e. view.isArchive is true.


view.archive. year is a member of the view dictionary.



year has data type number

Numbers are integer values. They can be used in mathematical operators.

Operators

The following operators apply to the number data type.
number1 + number2
Returns a number which is the sum of the given numbers.
number1 - number2
Returns a number which is the difference of the given numbers.
number1 * number2
Returns a number which is the product of the given numbers.
number1 / number2
Returns a number which is the division of the given numbers.
number1 <= number2
(Also supported with the syntax lte)
Returns a boolean which is true if the first number is less than or equal to the second number.
number1 >= number2
(Also supported with the syntax gte)
Returns a boolean which is true if the first number is greater than or equal to the second number.
number1 > number2
(Also supported with the syntax gt)
Returns a boolean which is true if the first number is greater than the second number.
number1 < number2
(Also supported with the syntax lt)
Returns a boolean which is true if the first number is less than the second number.
number1 % number2
Returns a number which is the first number modulo the second number.




View all "view[Object] fields