Print Page | Close Window

Datepicker localized display format

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=15380
Printed Date: 06 October 2024 at 5:31pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Datepicker localized display format
Posted By: DuncanL
Subject: Datepicker localized display format
Date Posted: 16 October 2009 at 5:01am
We are using a Datepicker popup in our application.  The header is displayed as "<day> <month> <year>"

We also have a localized Japanese version.  This correctly displays the month name in Japanese,  however our testers would like the date to be displayed in the locally prefered format of "<year> <month> <day>"

Is this possible in v9.81?  If not,  is it possible in any newer releases?  I've looked in the help and can't see anything,  so I suspect the answer to the first part is "no"!

Many thanks.



Replies:
Posted By: mdoubson
Date Posted: 16 October 2009 at 10:52am

This is not Calendar ocx - related question - move it to Control ocx place please



-------------
Mark Doubson, Ph.D.


Posted By: mdoubson
Date Posted: 16 October 2009 at 11:08am
But the answer is YES - under version 13.2 you need to set DateTimePicker.Format = 3 (xtpPickerCustom) and DateTimePicker.CustomFormat = any format string which follows standard DTM_SETFORMAT rules - e.g. see http://msdn.microsoft.com/en-us/library/aa921603.aspx - http://msdn.microsoft.com/en-us/library/aa921603.aspx

-------------
Mark Doubson, Ph.D.


Posted By: DuncanL
Date Posted: 16 October 2009 at 2:07pm
Datepicker is in the Calendar control in 9.81...

Anyway,  thank you for the quick answer.  Much appreciated.



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