Make code freeze work with today's date