The format examples are shown in a textarea, but in the final script the date will be written onto the page as normal.

Format      Show year  

Example