Is it possible in Tasks or Project Planning app for weekends to be automaticaly excluded when setting duration?

Is there any option to exclude weekend when seeting the duration of task? For example, if i create the task on friday and set duration 5 days, then the ending would be next friday, not wednesday, like now!