FnMFGetCulture

Signature

dbo.FnMFGetCulture()

Returns

  • NVARCHAR: a short culture code (e.g., ‘en-US’) for the local database.

Purpose

Return the culture code for use in formatting dates and numbers.

Examples

SELECT dbo.FnMFGetCulture() AS CultureCode;

Changelog

Date

Author

Description

2023-05-27

LC

Expand function to deal with US anomalies

2022-11-18

LC

Initial Version