SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
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
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

inbs
Aged Yak Warrior

832 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"

thanks

sumitsaini001
Starting Member

Canada
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  
 New 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.05 seconds. Powered By: Snitz Forums 2000