change vote date calc function