Added callback param to api dates example