Right, it's pretty easy. Go to your profile picture at the top right corner. Click that, then choose 'Set status message'. You'll see an option to 'Schedule out of office'. You can write your message and set the dates in there. Make sure you save it. Job done