Skip to main content

         This documentation site is for previous versions. Visit our new documentation site for current releases.      

Configuring the Thai calendar

Updated on December 13, 2022
Applicable to Theme Cosmos applications

Improve functionality for users who rely on the Thai solar calendar by configuring the Date Time control to display dates in this format.

  1. In the navigation pane of Dev Studio, click Records.
  2. Expand the Technical category, and then click HTML Fragment.
  3. Open the pyMetaTags HTML fragment.
  4. In the HTML Source section, anywhere in the HTML editor, add the following script:
    if(typeof pegaUtils==="undefined"){
    pegaUtils = {};
    pegaUtils.useBuddhistThaiSolarCalendar = true;
  5. Click Save.
  6. In the navigation pane of Dev Studio, click ConfigureUser InterfaceApplication readinessLocalizationLocale Settings.
  7. In the Use Locale drop-down list, select Thai (Thailand, TH).
  8. In the Use Time Zone drop-down list, select Asia/Bangkok.
  9. Click Update.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best. is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us