Remind your code! Answer your questions!
SET DATEFORMAT DMYNote: DMY means Day-Month-Year, so you can use MDY or YDM, etc...