Jump to content

How do I change the display year of TUniDateTimePicker to a Buddhist year?


Recommended Posts

Normally how do you change it in Delphi VCL?

DateTimePicker is a Windows common control and it was automatically display a year related to a selected region, for my case a (Thai)Buddhist year.


BTW, I've used a TMS Calendar component for IntraWeb, I was modified its source by added 543 to a displayed year and substracted 543 from a saved year.

In fact, a Buddhist year should be increased from a Christ year for 544 years, but only for Thailand that has increased 543 years from a Christ year.


It's good for me, if you can whether tell me what's file of ExtJS that i can modify or how can it be automatically from UniGUI like a Windows DateTimePicker common control.



Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...