Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Sets whether time values are stored as numbers.

Component Version macOS Windows Linux Server iOS SDK
Audit 12.3 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "Audit.SetDateAndTimeAsNumbers"; Setting )   More


Parameter Description Example
Setting The new setting.
Pass 1 to store time and date values as numbers.
Pass 0 to store them as text. (default)


Returns OK or error.


Sets whether time values are stored as numbers.
If different users have different locales, the date formats may be different. But storing them as numbers may help to prevent trouble, where using different formatting causes a change logged.


Enable using numbers:

Set Variable [$r; Value: MBS( "Audit.SetDateAndTimeAsNumbers"; 1) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 9th June 2022, last changed 9th June 2022

Audit.Hash - Audit.SetEnabled