The customer commitment says midnight of the day of departure.
https://www.delta.com/us/en/legal/customer-commitment
Even if you buy a non-refundable ticket from Delta, we will give you time to compare our fares with those of other airlines. You may cancel and refund your ticket in full until midnight, one day after the reservation is made. For example, a ticket purchased anytime on Monday can be cancelled and refunded until midnight on Tuesday. If the reservation is made on the date of travel, you may cancel and refund your paid ticket in full until midnight that day.