Page 1 of 1

{Time} and culture

Posted: Tue Nov 07, 2017 11:39 am
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.

Re: {Time} and culture

Posted: Wed Nov 08, 2017 2:01 pm
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.

Re: {Time} and culture

Posted: Wed Nov 08, 2017 5:51 pm
by HighAley
Hello.

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

Thank you.