Using Date-to-String Conversions

If you convert a date variable to a string without specifying an edit mask, SQR applies a date format. The conversion takes place with:

  • The MOVE command.

  • The datetostr function.

  • The DISPLAY, PRINT, or SHOW commands when used to output a date variable.

SQR attempts to apply date formats in this order:

  1. The format specified in SQR_DB_DATE_FORMAT.

  2. The database-dependent format.