@@DATEFORMAT (TSQL Function)

Returns the current value of the DATEFORMAT setting.

Syntax

@@DATEFORMAT

Return Types

Returns varchar.

Remarks

Returns ‘MDY’, ‘DMY’ or ‘YMD’.

See SET LANGUAGE and SET DATEFORMAT.

This function doesn’t exist in MS SQL Server.