SysCultureFormat
SysCulture Format Function
Converts the specified Value to text displayed using the FormatString designated by the Microsoft® Windows regional settings on the local machine.
For example, on a machine using the English (United States) regional settings, the "short date" FormatString displays mm/dd/yyyy and the "currency" FormatString displays $1,234.00. On a machine using the French (France) Culture setting, the "short date" FormatString displays dd/mm/yyyy and the "currency" FormatString displays 1 234,00 €
Syntax
SysCultureFormat(scalar Value, scalar FormatString)
Arguments
| Argument | Description |
|---|---|
scalar Value | Value to be converted |
scalar FormatString | Format for output |
Examples
SysCultureFormat (Now(), 'MMM dd, YYY')
Returns the current DateTime in specified date format.