The DATE-TO-YYYYMMDD function converts argument-1 from the form YYmmdd to the form YYYYmmdd. Argument-2, when added to the
                  year at the time of execution, defines the ending year of a 100-year interval, or sliding window, into which the year of argument-1
                  falls. The type of this function is integer. 
                  
 
            
            
               General Format
 
               	  
               	     FUNCTION DATE-TO-YYYYMMDD ( argument-1 [argument-2] ) 
 
                 
            
            
               Arguments
 
               	  
                
                  	 
                  - Argument-1 must be a positive integer less than 1,000,000. 
                     	 
                  
- Argument-2 must be an integer. 
                     	 
                  
- If argument-2 is omitted, the function is evaluated as though 50 were specified. 
                     	 
                  
- The sum of the year at the time of execution and the value of argument-2 must be less than 10,000 and greater than 1699. 
                     	 
                  
  
            
            
               Returned Values
 
               	  
                
                  	 
                  - The equivalent arithmetic expression is: 
                     		
                     (FUNCTION YEAR-TO-YYYY (YY, argument-2) * 10000 + nnnn) where: 
                        		
                        YY = FUNCTION INTEGER (argument-1/10000)    nnnn = FUNCTION MOD (argument-1, 10000)
                        		
                      and where argument-1 of the INTEGER and MOD functions and argument-2 of the YEAR-TO-YYYY function are the same as argument-1
                        and argument-2 of the DATE-TO-YYYYMMDD function itself.
                        		
                      
  
            
             
            
           
         
Notes