Click or drag to resize

GetDateFormat Function

Return the current date format.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.2a
Syntax
 FUNCTION GetDateFormat() AS STRING
View Source

Return Value

Type: String
The default date format supplied with X# or a customized date format defined via the SetDateFormat() or SetDateCountry() functions.
Remarks
Examples
This example returns the default date format:
X#
FUNCTION Start()
        QOut(GetDateFormat())        // Result: MM/DD/YY
See Also