This is a migrated thread and some comments may be shown as answers.

Formatting ignored on DateTime value

1 Answer 118 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Karl Wilkens
Top achievements
Rank 1
Karl Wilkens asked on 24 Jan 2011, 05:22 PM
Hi,

We have a date field that is inserted into our report using a TextBox with the expression set to =Fields.Created and for that TextBox, we have formatting set to {0:d} which should just display the date.

The data is a full date and time 5/10/2010 9:43:24 PM which we would simply like to appear in the report as 5/10/2010 but instead, the full date and time are displaying. What am I doing wrong?

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 25 Jan 2011, 06:57 PM
Hi Karl Wilkens,

We have tested locally the date Format when a report is exported to excel but we are unable to reproduce the behavior you have experienced. Please check out the attached archive that contains a video, an excel file and a sample report and let us know if you need additional assistance.

Kind regards,
Peter
the Telerik team
Get started with Telerik Reporting with numerous videos and detailed documentation.
Tags
General Discussions
Asked by
Karl Wilkens
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or