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 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/23
    
         11/12/23 -> 19674
    
         arsdate 11/12/2023
    
         11/12/2023 -> -1 (Error)
    
         arsdate -f "%m/%d/%Y" 11/12/2023
    
         11/12/2023 -> 19674