Showing Buddhist Year (Thai year) in Apex
831971Jan 18 2011 — edited Jan 18 2011Hello,
I'm trying to migrate my application to Apex. The problem is, I can't find a way to display the year component of 'Date' column as Buddhist year (B.E.). The Bhuddist year is simply Gregorian year + 543, e.g. 2011 is 2554 in this system.
I have looked over Globalization setting but couldn't find anything related to culture setting ..
Is there any way to safely add 543 to the year component just before it's displayed to the user? And subtract 543 from the input just before it's saved to the database?
Many thanks!