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

short date

1 Answer 778 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Sofiene
Top achievements
Rank 1
Sofiene asked on 13 Jun 2012, 12:23 PM
Hi , 
i am using telerik reporting to generate mails  , i have a textbox when i must put the  site and the current date in short format .  i am tring with : format("{d:0}", Now()) but does not work .
have you any idea ?
thank you for reply . 

1 Answer, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 13 Jun 2012, 12:31 PM
Hello Sofiene,

You can use Member Access to format  the date directly in the expression as shown in the article: = Now().ToShortDateString(): Returns a string that contains the current date in short format.

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

Tags
General Discussions
Asked by
Sofiene
Top achievements
Rank 1
Answers by
Steve
Telerik team
Share this question
or