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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Analysis Server and Reporting Services (2008)
 convert date to string and string to date
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aged Yak Warrior

860 Posts

Posted - 05/19/2011 :  02:45:06  Show Profile  Reply with Quote
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"


Starting Member

11 Posts

Posted - 05/31/2011 :  16:01:19  Show Profile  Reply with Quote
To convert string : =Cstr(Today())
To Convert Datetime: = Datevalue(Cstr(Today()) )
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000