Consultor Eletrônico



Kbase P126810: Does the OpenEdge ABL/Progress 4GL have a function to convert an ISO date into a regular date value?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   11/9/2007
Status: Unverified

GOAL:

Does the OpenEdge ABL/Progress 4GL have a function to convert an ISO date into a regular date value?

GOAL:

How to convert an ISO-formatted date string to a regular Progress date using the 4GL?

FACT(s) (Environment):

All Supported Operating Systems
OpenEdge 10.x

CAUSE:

Enhancement Request# 0000003681

FIX:

At this time, the OpenEdge ABL/Progress 4GL has the ISO-DATE function, which returns a character representation of a DATE, DATETIME , or DATETIME-TZ that conforms to the ISO 8601 standard for date/time representations. However, the Progress programming language currently does not have a function that does the reverse.

An enhancement request is already in place so that the DATE, DATETIME and DATETIME-TZ functions can take an ISO-formatted date string as an input parameter and convert it into a regular Progress date value.