Search code examples
visual-studiodatereportaxaptadynamics-ax-2012

How to set in a Report the format date in TextBox based current RegionalSetting?


I have in my Report, I'm using Visual Studio Ultimate 2013 a TextBox with DATE value

TextBOX

I would like to set the DATE format by current Regional Setting.

So : if is US I wold like to set format yyyy/mm/dd etc.. There is a possible way in Visual Studio. There is a specific property or formula ?

I need to set dynamically the date format.

Thanks!


Solution

  • You will need to navigate to Text box properties > Number > Date. Select any date format which begins with asterisk(*) as it denotes that regional settings will be applied. You can refer to the screenshot below for details

    Regional date format screenshot