User`s guide

APPENDIX A Function Reference
Users Guide 149
To set the locale to English:
uSetLocale("English")
uWeekdayNameShort("1969-03-13 10:22:23.231") //
returns "Thu"
To set the locale to German:
uSetLocale("German")
uWeekdayNameShort("1969-03-13 10:22:23.231") //
returns "Don"
uYear
Description Returns the year of the date specified.
Syntax string uYear([modifiers])
Parameters
string modifiers (optional)
String specifying a date or date calculation. The default is the
now modifier.
Examples Get the year from a date
uYear("now") // returns current year
uYear("1969-03-13 10:22:23.231") // returns "1969"
Errorhandling functions
uError
Description Writes error text into a log file and breaks from the current function or
programming context. The function returns the message written.
Syntax string uError(errortext)
Parameters
string errortext
Text to write to log file.
Examples To signal an error:
uError("'PP' is no valid country key.")