Click or drag to resize

GetDateFormat Function

Return the current date format.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.5
Syntax
 FUNCTION GetDateFormat() AS STRING

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#
1FUNCTION Start()
2    QOut(GetDateFormat())    // Result: MM/DD/YY
See Also