Date Syntax

How can i change the syntax of the date format, i would also like to custom the class of the day and month separately.