If the date appears in a sentence, like "On December 25, 2023, we had a big celebration," another comma follows the year.