formatDateTime(<datetime value="">,'yyyy')
also see https://world.mendix.com/display/refguide4/Parse+and+format+date+function+calls