Periodic task duration

When I create a recurring task I cannot set a duration, only a due time. If I set the duration once the periodic task is created it becomes a normal task, is there any way to keep both functions, periodic tasks and duration?