I have code in the textbox:
{Parameters.dtFrom} - {Parameters.dtTo}
But it displayed not as I need:
01.01.2014 00:00:00 - 12.12.2014 00:00:00
How can I convert that DateTime values to ShortDateString (01.01.2014 - 12.12.2014)
Thanks for help.
p.s. sorry for my bad english
I think you can use the Format text function to do this, see here.
Then you could do something like the following
var textBox = new TextBox();
textBox.Value = "=Format('{0:dd.mm.yyyy}', Parameters.dtFrom) - Format('{0:dd.mm.yyyy}', Parameters.dtTo)";