To display dates, times, numbers, and currencies in local formats use the ColdFusion LS functions (yep, they each start with LS). Using these functions you can write code that renders localized output dynamically. And to simplify localized data collection, there are even LS versions of the decision functions (for validating dates, numbers, and currencies). Just set the correct locale (using the SetLocale() function) and ColdFusion does the rest. (Applies to: ColdFusion 4 (or later))

Leave a Reply