Previous Topic

Book Contents

Book Index

Next Topic

year
  • Functionality

    This function will return the number of a year. E.g 31.January 2014 will return 2014.

  • Arguments

    year(Date aDate)

    year(Timestamp aTimestamp)

  • Return

    An Integer value.

  • Examples

    year(validfrom) --> validfrom is an attribute value from a business object

    year(2014-12-31) --> returns 2014

See Also

Available Functions

cast

countService

countService2

currencyConversion

cmp

dayOfMonth

ge (greater or equals than), ge_

gt (greater than), gt_

le (less or equals than), le_

lt (less than), lt_

eq (equals), eq_ and cmp

ne_

evalCondition

evalExpression

pyeval

not

isNull

Null

getAttributeTranslation

getAuditedBOTranslation

getAuditedValueRelation

getBOTypeTranslation

getCurrentDate

getCurrentTime

getCurrentTimeStamp

getCurrentUserld

getMaximalTimeStamp

getMaximalDate

getParameter

getPicture()

getValuesetTranslation

if, case and coalesce

trimLeft

isValid

max

min

month

round

size

substring

sum

trim

trimRight

replaceFromEnd

unit conversion

translate

valueset