How can I change the calendar Gregorian, using the locale "th_TH"?

We use the flasg.globalization.DateTimeFormatter to format our dates and it works like charm.

The date appears as this 4/10/2556, which is OK because most of the people seem to use the Buddhist in Thailand (local th_TH). But unfortunately our client wants to display the Gregorian time for these pepole, too...

So I would like to know, how to get rid of this shift! Does anyone have any idea?

Yours,

ULI

Finally, the solution is very simple:

You can use "th_TH@calendar=gregorian" instead of "th_TH" while initilaizing the DateTimeFormatter!

Tags: Adobe AIR

Similar Questions

Maybe you are looking for