-
Hans Groeneveld
- PowerBuilder
- Tuesday, 14 October 2025 09:50 AM UTC
I like to override the Date(<string>) function because we had in our code a lot of Date(<string>) calls with a Dutch format.
Now we have customer in different counties with a different date format.
I like to override the Date(<string>) function and call in my own function the Date(year. month, day) function.
But I am not able to save the function with a name 'date'.
I can save a fucntion as 'messagebox' to override the MessageBox function.
Why does this not work for date?
Are there other smart solutions?
Other the create a own myDate() function and search and replace Date() by myDate()?
Tia
Hans
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.