Solved

Convert DateTime to String in SSRS

Posted on 2008-10-21
3
5,553 Views
Last Modified: 2012-05-05
The datetime field is 5/15/08

My expression I have tried:

format(Fields!CHECKDATE.Value, "mmddyy")
              RESULT:  001508

Seems to be dropping the MM (month) but everything else is correct.  Kinda strange.

0
Comment
Question by:chrisryhal
  • 2
3 Comments
 
LVL 39

Expert Comment

by:appari
ID: 22767434
try

format(Fields!CHECKDATE.Value, "MMddyy")
0
 
LVL 39

Accepted Solution

by:
appari earned 500 total points
ID: 22767444
i think
mm is minutes
MM is month
0
 
LVL 2

Author Closing Comment

by:chrisryhal
ID: 31508292
Geesh, didn't know it was case sensitive.  So I was right other than that.  I appreciate your help.  
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Change variables in SQL table 6 82
How to check data in sql table 11 45
Query - which index being used? 2 48
how many extra RAM for SQL server is needed 22 35
Hi, I am very much excited today since I'm going to share something very exciting Tool used for Analytical Reporting and that's nothing but MICROSTRATEGY. Actually there are lot of other tools available in the market for Reporting Such as Co…
How to increase the row limit in Jasper Server.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now