6 8 Supporting International Date Formats

LANSA Multilingual Application

6.8 Supporting International Date Formats

The client's date format will be automatically passed to the server. If the date formats are different (e.g. MDY versus DMY), the server will automatically return data in the client's format.

The client's format can be changed from this default by specifying the x_run parameter DATF=. You will find information about this parameter in the Standard X_RUN Parameters in the Technical Reference Guide.

If the client and server date formats are different, such as between USA and UK clients, date format validation rules specifying exact formats will fail. For example, DDMMYY may be returned as MMDDYY. Where clients will be using different date formats, the date format SYSFMT is recommended.