Click or drag to resize

GetDateFormat Function

X#
Return the current date format.

Namespace:  XSharp.Core
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.19
Syntax
 FUNCTION GetDateFormat() AS STRING
Request Example 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#
1FUNCTION Start()
2    QOut(GetDateFormat())    // Result: MM/DD/YY
See Also