Supposedly no, they have no concept of time. At the same time, they say dogs have the IQ of a 2-4 year old.
Like others have mentioned, as a kid, my parents' dogs would get excited around the time Dad would get home from work, and would get worried and pace around if he was running late.
I don't know what my dog does, but yup, she goes spazzy whether I go to work, vacation, or just out to the garage to get a tool. I can also say that she recognizes when we are getting close to the parents house, which is a 45 minute drive. She'll be sound asleep in the back seat, and about 5 minutes out, still on the highway, she'll perk up, start wagging the tail, and looking out the window. as we turn onto their street, she starts getting spazzy. So, they must recognize a bit of time, or their SuperHearing and SuperSmell must really be kick ass to recognize things like being within a few miles of a particular place.