Import File is invalid: System.FormatException: String was not recognized as a valid DateTime

Cause: The .pyxml file that you are importing has a different date/time format than your local machine.

Resolution: To resolve this issue follow the steps below:

 

1.  Open the .pyxml file in a text editor such as Notepad or Notepad++

2.  Take note of the date/time formation, which is located near the top of the file, for example:

date_and_time.png

 

3.  Go to your local machine's calendar settings by clicking on the time and date display on the taskbar.

Click_time_and_date.png

 

4.  Click Change date and time settings...

5.  Click Change date and time...

6.  Click Change calendar settings

7. Click the Date tab and in the Date formats section, set the date to match the date format in the .pyxml file.

date_format.png



8.  Now click the Time tab and in the Time formats section, set the time to match the time format in the .pyxml file.

time_format.png


9.  Click Apply and OK to close the customize format window.

10.  Re-start AppStudio and import the .pyxml file.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk