Solved

Globalization for dates in crystal reports

Posted on 2003-12-02
7
1,670 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now