To convert a date in format YYYY-MM-DD on Progress 4gl, we can use the ISO-DATE function.

Syntax
ISO-DATE(date)

Sample today
DISPLAY ISO-DATE(today).
2008-03-17

Sample yesterday
DISPLAY ISO-DATE(today – 1).
2008-03-16

See ya….