Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - Datepicker localized display format
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Datepicker localized display format

 Post Reply Post Reply
Author
Message
DuncanL View Drop Down
Newbie
Newbie


Joined: 16 October 2009
Location: United Kingdom
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote DuncanL Quote  Post ReplyReply Direct Link To This Post Topic: Datepicker localized display format
    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.
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 16 October 2009 at 10:52am

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

Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
DuncanL View Drop Down
Newbie
Newbie


Joined: 16 October 2009
Location: United Kingdom
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote DuncanL Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.