Solved

Globalization for dates in crystal reports

Posted on 2003-12-02
7
1,677 Views
Last Modified: 2008-01-09
My web site uses crystal reports in web pages.  The website is running on asp.net.  The culture is set to German (de).

How can I format the dates in the html crystal report to be in the German format.?
Is this even possible to localize crystal reports.
0
Comment
Question by:andw928
7 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 9862254
Not sure what you mean by German format.

Have you tried selecting the field and formatting it.  

Select the field
Click FORMAT --> FORMAT FIELD
Select Customize
Set the formatting as desired

mlmcc
0
 
LVL 7

Author Comment

by:andw928
ID: 9862287
It isn't that easy.

American date format is mm/dd/yyyy
German date format is dd.mm.yyyy

I'm asking if crystal reports can be localized based on the current culture on a web page.
0
 
LVL 32

Expert Comment

by:bhess1
ID: 9862699
In Crystal, there are both 'System Default Long Format' and 'System Default short format' date/time formats that can be used.  Format the field, set the date/time format for the field to the default, and see if that does what you need.
0
Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

 

Expert Comment

by:anilkumar7
ID: 9875049
You can do it using a formula very easily get the day,month,year using the currentdate and then concatenate them to the requried format.
0
 

Expert Comment

by:anilkumar7
ID: 9875105
you can also create a custom format, go to format field then select the order as DMY and in the separators section give . instead of / for the First and Second
0
 
LVL 7

Author Comment

by:andw928
ID: 9875901
But I can't display the date in this format 1-Dez-2003

0
 

Accepted Solution

by:
anilkumar7 earned 40 total points
ID: 9876219
I thought you wanted this format
German date format is dd.mm.yyyy

but anyway you can still do it using the formula method as i said before, get the day, month, year based on the currentdate or the date field you have and in the string you build, replace the numerical month with the german code for the month.

are you using the same report for different languages or just for german.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

776 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question