I need to validate 2 date that never should be same.If same it will return false.Code is in PHP.It is always giving o/p as false.
function BeforeAdd($values, $me
Any one can suggest me a code to return false id date is today else true in the format
function BeforeAdd($values, $message, $inline, $pageObject) { $d1 = $values['DATE']; //date 1 in dd/mm/yyyy format $d2 = now(); if($d1>$d2) { return true; } echo ''; return false; }