Yesterday was the day before the current day, sometimes used to denote the past.
When Deputy Bennings visited the North Star bar, in 2153, he asked the bartender for something to drink, specifically, "Anything but that rot-gut you were pouring yesterday." (ENT: "North Star")
In 2370, when Commander Sisko wanted next month's duty roster, Kira Nerys said to him, "You'll have it on your desk first thing in the morning", to which he replied that she had said the same thing yesterday. (DS9: "Sanctuary")