My company has an office in China. The date format there is yy/mm/dd.
When they enter a date into the my date filter textbox on a report the report still picks up the last two digits as the year. If they enter the date as mm/dd/yy navision give an invaled date error. Is there any way in code to parse the Chinese date format into mm/dd/yy and then use it with the report.
tank
0
Comments
In regards to how to parse the date to a string.
Use DATE2DMY to get the day, month and year.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Navision uses the regional settings of the local computer.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book