Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 Development Tools
 Reporting Services Development
 Syntax for CDate in report expression

Author  Topic 

mrm23
Posting Yak Master

198 Posts

Posted - 2010-05-05 : 07:58:22
Hi All,
I have Trn_date = Jan-09-2010 09:13:00 AM

I want to represent this as dd/mm/yyyy

How to do this using CDate?

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2010-05-05 : 15:04:54
try FormatDateTime(Cdate(Fields!trn_date.value),3)

also remember to keep report language options as English (UK)

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -