changed date calc