The models have cutoff dates that are explained in the docs.
Why on earth would you trust that? OpenAI isn't releasing any technical details of how GPT-4 works. There may be some part of the model trained on pre-2022 data only, but there may be fine-tuning on later data.