Take a close look at the CONVERT function in Books Online (aka BOL). It can handle most date formats, and if you have to, you can always use the YEAR(), MONTH(), and DAY() functions, and/or the various uses of DATEPART(), or DATENAME(), together with CAST to varchar to get what you need.