The getyear() function

Extracts the year portion as a string from a dtl value.