Execute the following Microsoft SQL Server T-SQL datetime, date and time formatting scripts in Management Studio Query Editor to demonstrate the usage of the multitude of temporal data formats available and the application of date / datetime functions.
http://www.sqlusa.com/bestpractices2005/centurydateformat/
View Complete Post