sql server 2005
Hi, This is Sahu i have a one doubt how to give the date foemat syntax in ssrs reports Thank you
July 13th, 2011 8:42am

"2010-18-05" : Format(CDate(dateEx), "dd/MM/yyyy")Best Regards, Uri Dimant SQL Server MVP http://dimantdatabasesolutions.blogspot.com/ http://sqlblog.com/blogs/uri_dimant/
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 8:47am

give me one example
July 13th, 2011 9:02am

Hi, You can format dates using various built in functions in ssrs. Below are some examples. Format(Fields!myDate.Value, “M/d/yy”) - 2/11/08 Format(Fields!myDate.Value, “MM/dd/yyyy”) - 02/11/2008 Format(Fields!myDate.Value, “d-MMMM-yy”) - 11-December-08 Format(Fields!myDate.Value, “d-MMM-yyyy”) - 11-Dec-2008 Format(Fields!myDate.Value, “M/d/yyyy H:mm”) - 2/11/2008 13:50 Format(Fields!myDate.Value, “MMM-dd-yyyy”) - Feb-11-2008 Click the below link and see the Date functions section for more details. http://msdn.microsoft.com/en-us/library/ms157328.aspxMSBI Developer
Free Windows Admin Tool Kit Click here and download it now
July 13th, 2011 9:15am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics