Error: Invalid input string

Error Message

After upgrading ArcInfo Workstation, the AML [DATEFORMAT] function in the TESTDATE.AML returns the error:

"Invalid input string"


The previous ArcInfo Workstation install was customized to deal with the operating system date time format in a particular way. That customization was lost upon upgrade.

Solution or Workaround

The getdate.fmt file needs to be updated to be able to interpret 2002-22-07.

  1. Open the newly installed %ARCHOME%/sysgen/getdate.fmt file.
  2. Add the following information as the sixth line in the file.


    The [FORMATDATE] documentation in ArcInfo Workstation help provides more information on why and how to update this file.