IIRC, usually the VCRs I had to program just required the day of the week. I don't remember recording any shows at midnight, but midnight is normally the beginning of the next day (although, one of the listing sources I used had the day starting at 6:00).
That helps. It also means the numbers will be more complicated than necessary.