Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/Common problems

How to read date values to M-Files through External file source and XML and choose culture format

Last updated on 25 March 2024

Admin
Connections to External File Sources (Integrated)

Overview

When using an external file source and importing property values from XML, you must take regional settings for numbers into account. This is because the date 10/5/2021 is interpreted as 5th of October 2021 when using the U.S. locale settings, and as 10th of May 2021 when using the UK locale settings.

Solution

You can change the used locale settings in the Advanced Vault settings of M-Files Admin tool:

  1. Expand the desired vault
  2. Select its Configurations item
  3. Expand Advanced Vault Settings
  4. Expand Configuration
  5. Go to Connections to External Sources > File Sources > Locale
  6. Add the locale code of wanted region in decimal format. 

The used language id value needs to be in decimal format and the default value is 1033 for English-United States. List of available language codes can be found from the following Microsoft article:

Windows Language Code Identifier (LCID) Reference

Still need help?

On this page