If you'd only like a discount code to be valid for a holiday or midnight sale, you can restrict the code to a specific day or time.
1. When creating a discount code, check off the Customize Date and Time box.
2. From there, choose the specific start and end time that this code will be available for use.
3. Click Save in the toolbar.