Is there a way to set a 4 hours / half day vacation in work schedule?

Hi ,

Is there a way to set a 4 hours / half day vacation in work schedule ? Thanks !