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