Is there a way to put HTML entities in the date() so I could have
YYYY–MM–DD
as the outputted code. I tried
date('Y–m–d')
but it just outputs each character and uses some as date values, while
date('Y'–'m'–'d')
comes up with errors because of the colons.