Writing Code
 Crystal Reports Forum : Crystal Reports for Visual Studio 2005 and Newer : Writing Code
Message Icon Topic: convert string to date format Post Reply Post New Topic
Author Message
remintgon
Newbie
Newbie


Joined: 07 May 2008
Online Status: Offline
Posts: 4
Quote remintgon Replybullet Topic: convert string to date format
    Posted: 25 May 2011 at 5:50am
Newbi here,

I have a string that is yyyyddmm in the database when I pull it to the report is shows as 20110518, I need to show it as 05/18/2011. I how do I convert this? and where do I put the formula?

Thank you
Thanks for everything
IP IP Logged
shortwrite
Newbie
Newbie
Avatar

Joined: 24 Mar 2011
Online Status: Offline
Posts: 5
Quote shortwrite Replybullet Posted: 25 May 2011 at 9:15am
Try using DateValue.  This returns a date value based on one of several set and types of arguments.  It will convert  stored dates defined as a string, and converts the string to a useable date.
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.000 seconds.