Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Convert text field to date xx/xx/xx format Post Reply Post New Topic
Author Message
JGARDNER-AIT
Newbie
Newbie
Avatar

Joined: 27 Jan 2010
Location: United States
Online Status: Offline
Posts: 11
Quote JGARDNER-AIT Replybullet Topic: Convert text field to date xx/xx/xx format
     Posted: 18 May 2011 at 12:13pm
Hello - I have users who imput a date format in a udf text field. How do I convert this filed to find a date pattern and convert to a xx/xx/xx date format to be used in formulas?
 
examples...
 
1/01/11 should be 01/01/11
1/1/11 should be 01/01/11
 
kit should be null value since its nto a date.
 
Thank you,
Josh
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 19 May 2011 at 4:07am
if isdate({field}) then date({field})
IP IP Logged
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