get and set latest entry date