Calculate the title date properly