Show/Hide Toolbars

XSharp

NoteThis command is defined in a header file and will be preprocessed by the X# preprocessor to a function call. If you disable the standard header (-nostddefs) files then this command will not be available. If you tell the compiler to use a different standard header file (-stddef ) then this command may also be not available

Purpose

Change the setting that determines the XSharp date format by selecting from a list of constants with corresponding date formats.

Syntax

SET DATE [TO] <kCountrySetting>

Description

SET DATE is functionally equivalent to SetDateCountry().  

Examples

This example illustrates various system-defined country settings:

 

SET DATE German
? Today()                                // Result:  15.10.19
SET DATE Ansi
? Today()                                // Result:  19.10.15

Assembly

XSharp.RT.DLL

See Also

CToD(), DToC(), DToS(), SetCentury(), SetDateCountry(), SetDateFormat(), SetEpoch(), Today()