Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2020 : Technical Questions
Message Icon Topic: Crystal 9: format date within formula Post Reply Post New Topic
Author Message
psfin_mn
Newbie
Newbie
Avatar

Joined: 01 Dec 2008
Location: United States
Online Status: Offline
Posts: 9
Quote psfin_mn Replybullet Topic: Crystal 9: format date within formula
    Posted: 16 Jan 2009 at 8:10am
I have an IF THEN formula on a Crystal 9 form to put together multiple fields.  (for PeopleSoft Financials, on an Oracle 10g database)  
I'm trying to get a date to display in the DD/MM/YYYY  format, but I cannot seem to find the correct solution... 
 
If I just have     +  ToText({APY2021.PAY_DOC_DT}) 
within the formula, it prints like 
Tuesday, 30 September, 2008
 
If I have      +  ToText({APY2021.PAY_DOC_DT}, 'DD/MM/YYYY' ) 
then is prints like 
DD/09/YYYY
 
 
What did I use in this formula so that this date piece prints properly in the DD/MM/YYYY format? 
IP IP Logged
DBlank
Moderator
Moderator


Joined: 19 Dec 2008
Online Status: Offline
Posts: 9053
Quote DBlank Replybullet Posted: 16 Jan 2009 at 8:46am
ToText({APY2021.PAY_DOC_DT}, "dd/MM/yyyy" ) 
IP IP Logged
psfin_mn
Newbie
Newbie
Avatar

Joined: 01 Dec 2008
Location: United States
Online Status: Offline
Posts: 9
Quote psfin_mn Replybullet Posted: 16 Jan 2009 at 9:06am
aaahhh  -- Did not realize that it's case sensitive. 
Got it working. 
THANK YOU!


Edited by psfin_mn - 16 Jan 2009 at 9:07am
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.027 seconds.