In PB 2017 R3 1858 the Date ("string") function doesnt seem to recognise 4 digit years
In my case I have to conver strings like 31-Dec-2012 But Date("31-Dec-2012") returns 12/31/2020 (in US M/d/yyyy)
From what I can tell the Date function is only looking at the first 2 digits of the year.
Is this a bug?
In the documentation
"Valid dates in strings can include any combination of day (1 to 31), month (1 to 12 or the name or abbreviation of a month), and year (2 or 4 digits). PowerBuilder assumes a 4-digit number is a year."