Print Page | Close Window

Language-Support!?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=2717
Printed Date: 23 November 2024 at 10:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Language-Support!?
Posted By: Thoma
Subject: Language-Support!?
Date Posted: 12 August 2005 at 1:58pm

Hello codejock-team,

how can i format Dates to another language (i need german).

The result of the following format flags is only in english:

    '%a Abbreviated weekday name
    '%A Full weekday name
    '%b Abbreviated month name
    '%B Full month name
    '%c Date and time representation appropriate for locale

I need german outputs!

as example:

Full weekday name = "Mittwoch" and not "wednesday"!

What do i wrong?




Replies:
Posted By: Thoma
Date Posted: 16 August 2005 at 12:53pm

Is there no help?

PLEASE - I´ve only 30 days to test the trial!

 



Posted By: nighthawk
Date Posted: 16 August 2005 at 2:24pm
I don't rely on the ReportControl to format dates.  I do the formatting myself using either the VB function Format() or another one I wrote myself.  Below is a little example:


    Dim Record As XtremeReportControl.ReportRecord
    Dim Item As XtremeReportControl.ReportRecordItem

    Set Record = ReportControl.Records.add()

    Set Item = Record.AddItem(CDbl(dteDate))
    Item.Caption = Format(dteDate, "c")


Posted By: Thoma
Date Posted: 16 August 2005 at 5:38pm

Thx nighthawk!

It works fine! :-)




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net