In dates, the year is set off from the rest of the sentence with a pair of commas.
Commas are not needed if the date is inverted or if only the month and year are given.
Exercises:
Major uses of the comma 1
Major uses of the comma 2
All uses of the comma