The correct way to spell it is June 12th or the 12th of June.
Here's why:
* Ordinal Numbers: When referring to dates, we use ordinal numbers (first, second, third, etc.) for the day. So, instead of "twelfth," we use "12th."
* Month First: In most English-speaking countries, the month comes before the day.
Let me know if you have any other questions about spelling dates!