KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Set format command: Erratum
PRODUCT: 4D | VERSION: | PLATFORM: Mac & Win
Published On: July 25, 2002
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

Compatibility: 6.7 and 6.8

In the documentation of the command SET FORMAT, the first example shows that you need to use the Char command:

SET FORMAT ([Employee]Date Hired; Char(Month Day Year))

Technically, the proper command to be used is the String command, which would give:

SET FORMAT ([Employee]Date Hired; String(Month Day Year))