Thank you for your question. The proper way to write your example in English is May 5, 2012. If your date is within the sentence you must also use a comma after the year. For example: On May 5, 2012, something occurred. If, however, you are only writing month/year, then use no comma: The paper is dated May 2012.
I hope this helps.