The time in which any act provided by law is to be done is computed by excluding the first day, and including the last unless the last is a holiday and then it is also excluded.