Solved

Globalization for dates in crystal reports

Posted on 2003-12-02
7
1,691 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
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

713 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