Format DateTime in Expression (MVC Designer)
-
- Posts: 73
- Joined: Thu Oct 17, 2013 10:39 pm
- Location: Nova Friburgo, Rio de Janeiro, Brasil
Format DateTime in Expression (MVC Designer)
Hello,
To format a currency value, in format from my country, I can use:
{(Dados.Valor).ToString("###,###,##0.00")}
I'm trying format a DateTime Value (the value is showing with time lik 00:00:00)
{(Dados.DataVencimento).ToString("dd/MM/yyyy")}
If I put it, the system returns INTERNAL ERROR.
To format a currency value, in format from my country, I can use:
{(Dados.Valor).ToString("###,###,##0.00")}
I'm trying format a DateTime Value (the value is showing with time lik 00:00:00)
{(Dados.DataVencimento).ToString("dd/MM/yyyy")}
If I put it, the system returns INTERNAL ERROR.
-
- Posts: 73
- Joined: Thu Oct 17, 2013 10:39 pm
- Location: Nova Friburgo, Rio de Janeiro, Brasil
Re: Format DateTime in Expression (MVC Designer)
I found the TextFormat on Designer and choose Date Format (dd/mm/yy).
The value is being printing: 07/05/2014 00:00:00 yet......
Any tips?
The value is being printing: 07/05/2014 00:00:00 yet......
Any tips?
Re: Format DateTime in Expression (MVC Designer)
Hello,
Can you please send us a sample report which reproduce the issue for analsysis.
Thank you.
Can you please send us a sample report which reproduce the issue for analsysis.
Thank you.
-
- Posts: 73
- Joined: Thu Oct 17, 2013 10:39 pm
- Location: Nova Friburgo, Rio de Janeiro, Brasil
Re: Format DateTime in Expression (MVC Designer)
In attach.
In mrt file:
<TextFormat Ref="31" type="DateFormat" isKey="true">
<StringFormat>dd/MM/yyyy</StringFormat>
/TextFormat>
Result: Thank you!
In mrt file:
<TextFormat Ref="31" type="DateFormat" isKey="true">
<StringFormat>dd/MM/yyyy</StringFormat>
/TextFormat>
Result: Thank you!
- Attachments
-
- ContasPagarGeralFornecedor.mrt
- Report
- (33.58 KiB) Downloaded 244 times
Re: Format DateTime in Expression (MVC Designer)
Hello,
In your datasource the DataVencimento column is string, there may be some problems with the automatic conversion to datetime. please try to change on DateTime type.
Thank you.
In your datasource the DataVencimento column is string, there may be some problems with the automatic conversion to datetime. please try to change on DateTime type.
Thank you.
-
- Posts: 73
- Joined: Thu Oct 17, 2013 10:39 pm
- Location: Nova Friburgo, Rio de Janeiro, Brasil
Re: Format DateTime in Expression (MVC Designer)
Hello.
Yes, you're correct. Now it's running great!
Thank you.
Yes, you're correct. Now it's running great!
Thank you.
Re: Format DateTime in Expression (MVC Designer)
Hello,
We are always glad to help you!
Let us know if you need any additional help.
We are always glad to help you!
Let us know if you need any additional help.
-
- Posts: 73
- Joined: Thu Oct 17, 2013 10:39 pm
- Location: Nova Friburgo, Rio de Janeiro, Brasil
Re: Format DateTime in Expression (MVC Designer)
I have other doubt: at end of the trial periodo, what happens with the tool and projects? The Stimulsoft stops to work or the message DEMO is always showed unless I buy the product?
Re: Format DateTime in Expression (MVC Designer)
Hello.
Our trial period is unlimited in time and have no any limitation except DEMO watermark.
Thank you.
Our trial period is unlimited in time and have no any limitation except DEMO watermark.
Thank you.
-
- Posts: 73
- Joined: Thu Oct 17, 2013 10:39 pm
- Location: Nova Friburgo, Rio de Janeiro, Brasil
Re: Format DateTime in Expression (MVC Designer)
Great! Very good.