Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: How to do a Date String Convert Post Reply Post New Topic
Author Message
Matt33uk
Newbie
Newbie


Joined: 02 Sep 2007
Online Status: Offline
Posts: 1
Quote Matt33uk Replybullet Topic: How to do a Date String Convert
    Posted: 02 Sep 2007 at 1:04am
Can anyone help me,
 
i'm trying to convert a string field of 2007.07.25 to a date field in Crystal Reports.
 
I'm trying this in many version of crystal but can't get this type of string to convert.
 
Please help.
IP IP Logged
rnareshk
Newbie
Newbie
Avatar

Joined: 19 Jul 2007
Location: India
Online Status: Offline
Posts: 30
Quote rnareshk Replybullet Posted: 03 Sep 2007 at 2:32am
try with this "Jan 21 2008"
Thank You,
Naresh.
IP IP Logged
hilfy
Admin Group
Admin Group
Avatar

Joined: 20 Nov 2006
Online Status: Offline
Posts: 3702
Quote hilfy Replybullet Posted: 04 Sep 2007 at 3:58pm
Try something like this:
 
Date(toNumber(left({table.datefield}, 4)), toNumber(mid({table.datefield, 6, 2)), toNumber(right({table.datefield}, 2)))
 
-Dell
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.047 seconds.