Adds yesterday function.