Factor out delta_date

And use it consistently across the UI