For the purpose of computing any period of time prescribed in this chapter, the first day of the designated action or time must be excluded and the last day of the designated action or time must be included.