compare validation

How can I compare with two dates for validation

Don’t you think this is again the same question you asked here - http://www.yiiframework.com/forum/index.php?/topic/15970-