Notes

  1. The ARSDATE program works with the following data types to display their internal values in a date or time format that you can understand:
    • Date (old style)
    • Date/Time (old style)
    • Date/Time (TZ) (old style)
    • Time (old style)
    The following data types are stored in a date and time format that you can understand; therefore, you do not need to use the ARSDATE program to interpret the values:
    • Date
    • Date/Time
    • Date/Time (TZ)
  2. When displaying the date string for a given internal value, by default, the ARSDATE program displays the date string using the mm/dd/yy format. If you want the ARSDATE program to display the date string using a different format, then you must specify the date format with the -f parameter. For example:
         arsdate 10907
    
         10907 -> 11/11/99
    
         arsdate -f "%m/%d/%Y" 10907
    
         10907 -> 11/11/1999
  3. When displaying the internal value for a given date string, by default, the ARSDATE program expects you to specify the date string using the mm/dd/yy format. If you want to specify the date string using a different format, then you must specify the date format with the -f parameter. For example:
         arsdate 11/12/99
    
         11/12/99 -> 10908
    
         arsdate 11/12/1999
    
         11/12/1999 -> -1 (Error)
    
         arsdate -f "%m/%d/%Y" 11/12/1999
    
         11/12/1999 -> 10908