Get date picking working