Report Design
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Report Design
Message Icon Topic: Changing Date to this text format... Post Reply Post New Topic
Author Message
Danish
Newbie
Newbie


Joined: 10 Aug 2008
Location: New Zealand
Online Status: Offline
Posts: 6
Quote Danish Replybullet Topic: Changing Date to this text format...
     Posted: 14 Aug 2008 at 9:25pm
Hi,
 
How do I change a date say 20/03/2008 (NZ format) into 20th of March
 
Regards Torben
IP IP Logged
Danish
Newbie
Newbie


Joined: 10 Aug 2008
Location: New Zealand
Online Status: Offline
Posts: 6
Quote Danish Replybullet Posted: 14 Aug 2008 at 10:04pm
I worked it out. Tongue
IP IP Logged
themessenger
Groupie
Groupie
Avatar

Joined: 15 Aug 2008
Location: United Kingdom
Online Status: Offline
Posts: 48
Quote themessenger Replybullet Posted: 15 Aug 2008 at 2:47am
For those who don't know and are interested I take it you used something like:

ToText({Datefield},'dddd of MMMM')
Managing Director
www.allmymenus.com
IP IP Logged
Danish
Newbie
Newbie


Joined: 10 Aug 2008
Location: New Zealand
Online Status: Offline
Posts: 6
Quote Danish Replybullet Posted: 17 Aug 2008 at 3:03pm
In this instance I used:
 
CStr(CurrentDate,"dd of MMMM")
 
But much the same as using totext.
 
 
IP IP Logged
ashisahb
Groupie
Groupie


Joined: 15 May 2008
Location: India
Online Status: Offline
Posts: 48
Quote ashisahb Replybullet Posted: 17 Aug 2008 at 10:35pm
You can change the date format by formatting the date field .
Right click on the date field , go in Format Field option and select the format u want in the Cutomise option.
Regards,
Ashish
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