- Larry Peters
- PowerBuilder
- Tuesday, 2 February 2021 08:52 PM UTC
I have the following code:
string ls_date = "1900-01-50"
date ld_date
ld_date = date(ls_date)
messagebox("Date", string(ld_date, "dd-mm-yyyy"))
When run using PowerBuilder 12.5.2 (my legacy system) the result in the messagebox is "01-01'1900".
When run using Appeon 17R3 (my current system) the same code results in "05-01-1900".
The problem is the legacy system is expecting "01-01-1900" as being an "empty" date but the same code, when complied and run in 17R3 no longer works as expected. It looks like the 17R3 implementation of Date() has changed.
Has anyone else experienced this and can anyone throw light on this difference and is it a known issue likely to be fixed?
Larry Peters
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.