Can you use wine for cooking even after it's past it's drinking date?
There's no rule that you have to drink your wine 24 hours after un-corking it, in fact some wines can taste better after 24 hours. 3 or 4 days is fine in many cases, and some wines are still drinkable a week after opening. This can be extended by refrigerating your wine after opening, white or red, you can get 2 weeks out of a bottle of wine if it's stored in the fridge. With reds let the glass stand for 10 minutes or so after pouring to get the optimal temperature. 

2 weeks out of the fridge and it's probably vinegar, but if it still takes ok you can cook with it no problem.