Ticket Q94321
Visible to All Users

localize date

created 17 years ago

What would be the best way to localize date type fields in a ASP.NET web report? I need to generate output for date type fields in several languages such as english and spanish. Date fields are generated in Dutch according to my Windows settings. A typical output for a date field is '23 Januari 2008', instead I need the equivalent in other languages.

Comments (1)
DevExpress Support Team 17 years ago

    Hi Paul,
    To accomplish this task, override the InitializeCulture method of the corresponding webpage.
    I've attached a sample illustrating this approach in action.
    Please let us know whether it meets your needs.
    Thanks,
    Andrew

    Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

    Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.