saving the election opening and closing datetime