![]() |
Datepicker localized display format |
Post Reply ![]() |
Author | |
DuncanL ![]() Newbie ![]() Joined: 16 October 2009 Location: United Kingdom Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() 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. |
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
This is not Calendar ocx - related question - move it to Control ocx place please |
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
|
DuncanL ![]() Newbie ![]() Joined: 16 October 2009 Location: United Kingdom Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() |
Datepicker is in the Calendar control in 9.81...
Anyway, thank you for the quick answer. Much appreciated. |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |