Extended Systems OneBridge 4.1 Guía de usuario Pagina 163

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 222
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 162
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.")
Vista de pagina 162
1 2 ... 158 159 160 161 162 163 164 165 166 167 168 ... 221 222

Comentarios a estos manuales

Sin comentarios