I need to compare two dates to ensure one is not greater than the other. I am using VB Script and the Datediff function to accomplish this. Everything is working fine until I enter a date greater than 12/31/29. For some reason the datediff function assumes the year is 1929 not 2029 and returns a negative value. The funny thing is I can literally run this same code in VB or in a stored procedure and it works fine. Any thoughts on how to get around this? Thanks.