- Gregory Rusak
- PowerBuilder
- Monday, 1 April 2019 08:49 PM UTC
Hello,
I haven't found any reported issues with the isDate() function, so I'm posting here to see if others experience the same results before I submit this as an Appeon defect.
It appears that the isDate() function will return FALSE when the Windows date format is set to something other than dd-MMM-YYYY, or dd-MMM-YY or dd/mm/yyyy.
For example, if the Windows date format is set to dd-MMM-YYYY, then the following will return TRUE:
isDate('01-Apr-2019')
But if you change the Windows date format to something like mm/dd/yyyy, then the same function:
isDate('01-Apr-2019')
will return FALSE.
I've attached an .srd file that demonstrates this issue. All you have to do is change your Windows date format and open the datawindow in the painter.
This is happening in PowerBuilder 2017 R2 Build 1769
Please let me know what you find.
Kind Regards,
Greg
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.