Thats generally not the case for salary unless explicitly stated in a contract (in which case it isnt threft). Typically you are expected to work whatever hours are needed to finish your job on time, but you are also welcome to exchange that by working fewer hours during down time. Typically you are expected to average 40 hours a week, where some weeks might be 60 hours others may be 20.