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
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 convert date to string and string to date

Author  Topic 

inbs
Aged Yak Warrior

860 Posts

Posted - 2011-05-19 : 02:45:06
in reporting services (expression)

i want convert now() to string i mean
"5/19/2011 00:00:00" to 20110519 and
20110519 to "5/19/2011 00:00:00"

thanks

sumitsaini001
Starting Member

11 Posts

Posted - 2011-05-31 : 16:01:19
To convert string : =Cstr(Today())
To Convert Datetime: = Datevalue(Cstr(Today()) )
Go to Top of Page
   

- Advertisement -