Variable hours day-by-day on tasks

Variable hours day-by-day on tasks

Hi

Is it possible to assign a different number of work hours to a resource for each day of the duration of a task (or sub-task). For example, 2 hours on Monday and Tuesday and 5 hours on Wednesday and Thursday?

John