To apply for time off for few hours, follow the same instructions as a regular one while prepending the number of hours. Some examples are illustrated below. 

You can also use a short cut, 'working from home on first half' or 'on leave for the second half' to mark a half day vacation while specifying your availability for the first or the second half.