
 
  
            
            
               Description
               	 
               	 
                The INTEGER-OF-FORMATTED-DATE function returns an integer data format representing a specified date. The type of this function
                  is integer.
                  	 
               
               
              
            
            
               General Format
 
               	  
               	 FUNCTION INTEGER-OF-FORMATTED-DATE (argument-1, argument-2)
 
                 
            
            
               Arguments
 
               	 
               
                  	 
                  - Argument-1 must be a literal of type alphanumeric, national, or UTF-8 in a valid date or combined date time format. See 
                     		Date and Time Formats for details.
                     	 
                  
-  Argument-2 must be a data item of the same class as argument-1.
                     	 
                  
- The content of argument-2 should be formatted as specified by the content of argument-1:
                     		
                     
                     	 
                  
Returned Values 
                     		 
                  	 
               
 
               
                  	 
                  -  The returned value is a positive integer representing the given date as the number of days since 31 December, 1600 in the
                     Gregorian calendar. 
                     		
                     Note: Setting the INTDATE Compiler directive to a value other than its default value will have an effect on this calculation.