{Time} and culture

Stimulsoft Reports.NET discussion
Post Reply
NicolasM
Posts: 23
Joined: Tue Mar 08, 2016 1:53 pm

{Time} and culture

Post by NicolasM »

Hello,

On the header of each MRT files, I use {Time} to get the generated date/time. But I cannot found a way to set programmatically the culture used (my prints can be done in several cultures).

I try to set StiReport.Culture to en-GB (for example) but no change.

Can you tell me how to change programmatically the report culture?

Thanks in advance,
N.
NicolasM
Posts: 23
Joined: Tue Mar 08, 2016 1:53 pm

Re: {Time} and culture

Post by NicolasM »

I found the problem !

I set the culture before load the model, that's all !

We have to load model first and after change the culture !

N.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: {Time} and culture

Post by HighAley »

Hello.

Yes, you are right.
The Culture property should be set after loading of the report template.

Thank you.
Post Reply