At Ask Me Help Desk you can ask questions in any topic and have them
answered for free by our experts. To ask questions or participate in
answering them you must register for a free account. By registering you
will be able to:
Get free answers from experts in any of our 300+
topics.
No you do not use a comma if writing July 1997. Now if you are talking about specific dates, such as, oh I don't know, the 20th, you would write July 20, 1997.
But just the month and year, no you don't use a comma.