Lasso Soft Inc. > Home

[ locale_format_style_none ]

Method

The [locale_format_style_none] method is used as a parameter in [locale->format] calls.

This method tells [locale->format] to ignore the styling for the particular locale.

Note: this method is included for completeness, and will rarely be used.

  • Syntax
locale->format( value, locale_format_style_none )
Examples
  • Beginner

Output a date without respect to the locale formatting

Use the [locale_format_style_none] method. This example outputs a date ignoring the formatting of date in English Canada .

Code

var(myLocale = locale_canada,
     myDate = date)

$myLocale->format($myDate, locale_format_style_none)+'\n'

Result

20110212 04:56 PM

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