How do I format the date in M-Files?
The Date data type of a property is used to show a date and time as a property value. To change the format, change the date and time format settings of the client computer's operating system.
Do these steps on the M-Files client computer to change the date format:
- Right-click the Windows Start button and select Settings.
-
Select
.Result:The Clock and Region window is opened.
-
In Region, click Change date, time, or number
formats.
Result:The Region dialog is opened.
-
On the Formats tab, click Additional
settings.
Result:The Customize Format dialog is opened.
- Open the Time tab and enter a format to Short time.
- Open the Date tab and enter a format to Short date.
- Click OK to close the Customize Format dialog.
- Click OK to close the Region dialog.
How do I format the date on the M-Files server computer?
Many M-Files Server operations use date and time information. For example, script executions and PDF conversions. The date and time settings of the M-Files server computer's system account specify how dates and times are formatted in such operations.
Do these steps on the M-Files server computer to change the date and time format:
- Right-click the Windows Start button and select Settings.
-
Select
.Result:The Clock and Region window is opened.
-
In Region, click Change date, time, or number
formats.
Result:The Region dialog is opened.
-
On the Formats tab, click Additional
settings.
Result:The Customize Format dialog is opened.
- Open the Time tab and enter a format to Short time.
- Open the Date tab and enter a format to Short date.
- Click OK to close the Customize Format dialog.
- Open the Administrative tab.
- Click Copy Settings.
- Enable Welcome screen and system accounts.
- Click OK to close the dialog.
- Click OK to close the Region dialog.
All dates and times generated by the M-Files server computer now use the format that you have specified in the steps here.