When I have a datetime field {Date} and use the format option of the text box it works fine.
But when write something before the field like : Invoice date: {Date} the format does not apply, because of the extra text.
How do I use formattings in the text box?
Thanks!
Formating Values
Formating Values
You can use standard formatting, providing by .Net Framework, for example:EDV wrote:When I have a datetime field {Date} and use the format option of the text box it works fine.
But when write something before the field like : Invoice date: {Date} the format does not apply, because of the extra text.
How do I use formattings in the text box?
Thanks!
Code: Select all
Invoice date: {Date.ToString("MM.dd.yyyy")}
Code: Select all
Invoice date: {this.Text3.TextFormat.Format(Date.Date)}
In next version mechanizm of formatting will be greatly improved.