• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7036
  • Last Modified:

Convert DateTime to String in SSRS

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
chrisryhal
Asked:
chrisryhal
  • 2
1 Solution
 
appariCommented:
try

format(Fields!CHECKDATE.Value, "MMddyy")
0
 
appariCommented:
i think
mm is minutes
MM is month
0
 
chrisryhalAuthor Commented:
Geesh, didn't know it was case sensitive.  So I was right other than that.  I appreciate your help.  
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now