Solved

Convert DateTime to String in SSRS

Posted on 2008-10-21
3
5,709 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

How to increase the row limit in Jasper Server.
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.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 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