ASP.NET - Rdlc Report - Asked By Arun Tej on 09-Mar-12 04:10 AM

How to display only Date as expression in rdlc reports
kalpana aparnathi replied to Arun Tej on 09-Mar-12 04:14 AM

hi,

You can use the FormatDateTime method:

=FormatDateTime(Fields!date.Value, DateFormat.ShortDate)

Or you can set the formatting in the properties window: enter image description here


Regards,
Somesh Yadav replied to Arun Tej on 09-Mar-12 04:27 AM
refer to this link,

http://weblogs.asp.net/rajbk/
Amit Choudhary replied to Arun Tej on 09-Mar-12 04:41 AM
Use Format property in field  as MM/dd/yyyy or whatever format you want ..
Hope it is help ful
Suchit shah replied to Arun Tej on 09-Mar-12 11:36 PM
By using this way you can format the date in RDLC


=iif(IsNothing(Fields!StartDate.Value),"02/12/2010", Format(Fields!StartDate.Value,"dd-MMM-yyyy") )

which give only date in DD/MM/YYYY format