Date format returned by the native Oracle driver (5.5 compatibility)
In version 5.5: The date returned by the native Oracle driver when reading a Date item was: DD-MM-YYYY
In version 5.5B: The date returned by the native Oracle driver when reading a Date item now is: YYYYMMDD.
Reasons behind this modification: Harmonizes the management of dates in WINDEV. Simplifies the assignment of the date read by the Oracle driver in a WINDEV control of DATE type. No specific process is required to convert the date into a format recognized by WINDEV.
How to keep the former operating mode?
Configure the date format in WDORAINS: all you have to do is check "Compatibility: return the dates in 'DD-MM-YYYY' format" when describing the database used.
Reminder: When writing into a database via the native Oracle driver, we recommend that you use the standard ODBC format {d 'YYYY-MM-DD'} (with a space between d and '). The driver automatically converts the date into the format used by the database.
Example:
INSERT INTO TABLE(DATE) VALUES ({d '1999-12-25'})
Remark: Starting with version 12, empty dates correspond to strings filled with zeros. In the earlier versions, the empty dates corresponded to empty strings.