This is handy script to print all available date formats in SQL Server.
We dont always remember the style we need, in time and this script helps us identify which one we need.
CONVERT() function is short and the same info returned by this function, can be printed using DatePart ()and CAST() functions too. We end up writing lengthy functions then.