The [locale_format_style_short] method is used as a parameter in [locale->format] calls.
This method tells [locale->format] to use the short styling for the particular locale.
locale->format( value, locale_format_style_short )
Use the [locale_format_style_short] method. This example outputs the short format of date in English Canada.
Code
var(myLocale = locale_canada,
myDate = date)
$myLocale->format($myDate, locale_format_style_short)+'\n'
Result
11-02-12
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments