Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: date fromat Post Reply Post New Topic
Author Message
sruthi
Newbie
Newbie


Joined: 29 Mar 2010
Online Status: Offline
Posts: 23
Quote sruthi Replybullet Topic: date fromat
     Posted: 22 Sep 2010 at 9:51pm
Hi

can any one tell how to set date format as "20th sep 2010" in CR.

Thanks
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 23 Sep 2010 at 3:58am
Someone else may a know an easier way but...
 
select the date field
right click and select format field
seelct the date time tab
click on customize
click on date tab
change order to DMY
change Month Format to 'Mar'
Change Day format to 1
change year to 1999
in seperators
First seperator use a formula
if day({DATE}) in [1,21,31] then 'st '
else if day({DATE}) in [2,22] then 'nd '
else if day({DATE}) in [3,23] then 'rd '
else if day({DATE}) in 4 to 20 then 'th '
else if day({DATE}) in 24 to 30 then 'th '
IN seperator 2 use " "
In the TIme tab turn everything off
IP IP Logged
sruthi
Newbie
Newbie


Joined: 29 Mar 2010
Online Status: Offline
Posts: 23
Quote sruthi Replybullet Posted: 23 Sep 2010 at 7:57pm

Thank you very much for reply it solved my problem

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