Lasso Soft Inc. > Home

[ locale_italy ]


The [locale_italy] method defines a locale with language "it" and a country of "IT".

This method is shorthand for locale('it', 'IT'),

  • Syntax
  • Beginner

Set the locale to the default settings for Italy

Use the [locale_italy] method. This example sets a locale to the default, updates it to [locale_italy] and outputs the difference.


var(myLocale = locale_default,
     myDate = date)

$myLocale->asString +': '+$myLocale->format($myDate)+'\n'

$myLocale = locale_italy

$myLocale->asString +': '+$myLocale->format($myDate)+'\n'


en_CA: 2011-02-12
it_IT: 12/feb/2011

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home



©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft