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

M-Files Property Calculator - date formatting in automatic values defaults to server locale

Last updated on 25 March 2025

Admin
M-Files Property Calculator

Overview

At the time of writing this article, there is a known issue when Property Calculator is used to automatically calculate a text value including a date property. The date defaults to server locale formatting, disregarding any other format settings.

Image below illustrates the issue. Property 'Value inc. doc' is calculated by Property Calculator, using a dynamic value with placeholders {Name or title} - {Date}

A screenshot of a documentAI-generated content may be incorrect.

A screenshot of a computerAI-generated content may be incorrect.

Solution

The solution is a workaround using Property Calculator to set the date using the desired format on a text property, in my example below 'Date Formatted (txt)', then using that property in the calculated value instead of the Date. (This helper property can also be hidden via Metadata Card Configurations if needed.)

Setting up the helper property:

A screenshot of a computerAI-generated content may be incorrect.

Updated expression for the automatic value

A screenshot of a computerAI-generated content may be incorrect.

End result

A screenshot of a computerAI-generated content may be incorrect.

Still need help?

On this page