Thor correctly told you how you can prefix the duration unit to turn it into
elapsed time that ignores the working time calendar. 2 weeks on the wall
calendar is 14ed but 10d. But before you do that, consider a couple of
factors. First and formost - the duration of a task is not the time frame
within which the task needs to be accomplished. If I have to wax 100
widgets, I can do 10 widgets per hour, I have them on hand and could start
any time I want and they are due in 2 weeks, that task is NOT a 2 week
duration task - it is a 10 hour duration task with a deadline 2 weeks away.
The duration is an estimate of the time it will take to complete the task
once it begins and reflects the actual working time expended on it by a
resource. But work ONLY takes place when there is a warm body present to do
it, hence the only time that gives you credit against the required work time
and so counts for managing the project are those minutes during the day
where there is qualified resource physically present and available to work.
Non-working time is completely irrelevant when it comes to managing the
project's work schedule to get it completed on time.