Lasso Soft Inc. > Home

[ locale_german ]

Method

The [locale_german] method defines a locale with language "de". 

This method is shorthand for locale('de'),

  • Syntax
locale_german
Examples
  • Beginner

Set the locale to German

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

Code

var(myLocale = locale_default,
     myDate = date)

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

$myLocale = locale_german

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

Result

en_CA: 2011-02-12
de: 12.02.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