Quote Originally Posted by stanav View Post
As long as all your dates having the same format dd.MM.yyyy then that code will work. If any of the dates is in short format, for example 22.4.2009 or 1.2.2010 instead of 22.04.2009 or 01.02.2010 then that code will not work.
Thats right. It all depends on the data and the assumptions you can make and he would know that.