Print Page | Close Window

Display date in another language

Printed From: Crystal Reports Book
Category: Crystal Reports 9 through 2020
Forum Name: Report Design
Forum Discription: The best way to design a report and problems you have encountered
URL: http://www.crystalreportsbook.com/forum/forum_posts.asp?TID=13370
Printed Date: 27 Apr 2024 at 12:15pm


Topic: Display date in another language
Posted By: minibrus
Subject: Display date in another language
Date Posted: 31 May 2011 at 11:42am
Hi all,
please help me to solve this issue
 
I am using Crystal report 2008 in Italian language. International setting on machine where CR is installed is it_IT.
The date in my report is displayed like "mecoledě 1 giugno 2011" but I need to display the report in international language and then i need to have a date like "Wednesday 1 June 2011"
 
How I can do this?

 
Thanks



Replies:
Posted By: Emir_W
Date Posted: 31 May 2011 at 9:04pm
in this case you need to have one (or more) variable to convert the date.
create variable for:
- xday = to convert Italian day to international day
- xmonth = to convert Italian month to international month
- xdd = the date (dd)
- xyear = the year (yyyy)
- xdate =xday+' '+xdd+' '+xmonth+' '+xyear

and use xdate on your report.


hope it help.



-------------
Emir W



Print Page | Close Window