Skip to main content

SysCultureFormat

SysCulture 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 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​

ArgumentDescription
scalar ValueValue to be converted
scalar FormatStringFormat for output

Examples:

SysCultureFormat(Now(),'MMMM dd, yyyy')

Returns the current DateTime in specified date format.