Solved

Convert DateTime to String in SSRS

Posted on 2008-10-21
3
6,259 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …

717 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