Setting the Default Format to Use for All Date Fields

Designer: To change the default date format used by the Designer, you need to modify the Designer configuration file. See the Designer User's Guide for more information.

Code: By default, date fields use the global system date format string Date field:SYSDATEFMT as the date format. SYSDATEFMT is initialized by the system to "MM/DD/YY" (this is the same as US_DATE).

To change SYSDATEFMT, use the set environment date format function, se_datefmt():

void se_datefmt(format_stp)

UCHAR *format_stp;            /* Pointer to format string        */

Any date field defined in code after making this call will use the changed SYSDATEFMT.


Home Contents Previous Next