All below conditions are executing properly except 2 (no output comming),can you say what's wrong?...
EP DATE App DATE ISSUE DATE RESULT
6/9/1995 6/6/1994 6/9/1997 9-Jun-15
8/25/2004 8/30/2005 25-Aug-24 ---->2
2/7/1995 6/7/1995 7/7/1995 7-Feb-15
9/30/2005 1/6/2009 6/7/2028 30-Sep-25
8/25/1994 8/30/2000 30-Aug-17
8/24/1994 8/25/1994 8/30/2000 30-Aug-17
8/24/1990 8/25/1994 8/30/1995 30-Aug-12
8/24/1993 8/25/1994 8/30/1995 24-Aug-13
The term of a patent is 20 years from the earliest claimed priority date (or longer of 17 years from the issue date or 20 years from the earliest claimed priority date if the patent application was filed on or before June 8, 1995). 35 USC § 154.
Below is the formula...
IF(Application_Date__c >= DATE(1995,8,6),
DATE( YEAR( Earliest_Priority_Date__c ) + 20 ,
MONTH(Earliest_Priority_Date__c ) ,
DAY(Earliest_Priority_Date__c ) ) ,
IF(DATE( YEAR( Earliest_Priority_Date__c ) + 20 ,
MONTH(Earliest_Priority_Date__c ) ,
DAY(Earliest_Priority_Date__c ) ) >
DATE( YEAR( Issue_Date_of_Patent__c ) + 17 ,
MONTH(Issue_Date_of_Patent__c) ,
DAY(Issue_Date_of_Patent__c) ),
DATE( YEAR( Earliest_Priority_Date__c ) + 20 ,
MONTH(Earliest_Priority_Date__c ) ,
DAY(Earliest_Priority_Date__c ) ),
DATE( YEAR( Issue_Date_of_Patent__c ) + 17 ,
MONTH(Issue_Date_of_Patent__c) ,
DAY(Issue_Date_of_Patent__c) ))
)
)