Click or drag to resize

RuntimeState.DateFormat Property

X#
The current Date format

Namespace:  XSharp
Assembly:  XSharp.Core (in XSharp.Core.dll) Version: 2.21
Syntax
 STATIC PROPERTY DateFormat AS STRING GET SET 
Request Example View Source

Property Value

Type: String
Remarks
This string should contain a combination of DD MM and either YY or YYYY characters.
For example DD-MM-YYYY for italian date format, MM/DD/YYYY for American date format or DD/MM/YYYY for British Date format. Note that all other characters except the four groups mentioned above are copied to the output string verbatim.
Note Note
This value is 'per thread'
Remarks
Tip Tip
This value is 'per thread'. New threads inherit the settings from the main thread. Changes to this setting are visible to code in the same thread only.
See Also