ability to override the Date format settings

Stimulsoft Reports.WEB discussion
Post Reply
drp1994
Posts: 9
Joined: Wed Jun 04, 2014 7:32 pm

ability to override the Date format settings

Post by drp1994 »

We have the situation where our end users like different date formats, for example one users would like all dates to display as dd/MM/YYYY while another user would like to see all dates as MM/dd/YYYY.

In some cases the date format setting already configured within the MRT files is as follows
{rpt.EndDate.ToString("MM/dd/yyyy")}

is there a way to dynamically control the date format that is displaying on the resulting MRT file?
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: ability to override the Date format settings

Post by Alex K. »

Hello,

Please try to use the Culture property for the report. You can set the necessary culture before render report.

Thank you.
Post Reply