How would you write "The fourth of July?"

The 4th of July

OR

The fourth of July?

Are they both grammatically correct?