Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 11.0   11.1   11.2   11.3   11.4   11.5   12.0   12.1   12.2   12.3    Statistic    FMM    Blog  

Audit.SetDateAndTimeAsNumbers

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

Parameters

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)
1

Result

Returns OK or error.

Description

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.

Examples

Enable using numbers:

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

See also

Release notes

  • Version 12.3
    • Added Audit.GetDateAndTimeAsNumbers and Audit.SetDateAndTimeAsNumbers to log dates, times and timestamps as numbers instead of text.

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


Audit.Hash - Audit.SetEnabled

Feedback: Report problem or ask question.


Start Chat