x

Capitolele principale

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Ghid de inițiere rapidă
  3. LimeSurvey CE - Instalare
  4. Cum să proiectați un sondaj bun (Ghid)
  5. Noțiuni de bază
  6. Configurați LimeSurvey
  7. Sondaje - Introducere
  8. Setările sondajului
  9. Vizualizați meniul sondajului
  10. Vedeți structura sondajului
  11. Introducere - Întrebări
  12. Introducere - Grupuri de întrebări
  13. Introducere - Managementul Sondajelor
  14. Opțiunile barei de instrumente pentru sondaj
  15. Sondaj multilingv
  16. Ghid de inițiere rapidă - ExpressionScript
  17. Caracteristici avansate
  18. Întrebări generale frrecvente
  19. Depanare
  20. Soluții alternative
  21. Licență
  22. Jurnal de modificare a versiunii
  23. Pluginuri - Avansat
 Actions

DateFunctions/ro: Difference between revisions

From LimeSurvey Manual

Maren.fritz (talk | contribs)
Created page with "Funcții pentru motorul ExpressionScript pentru a gestiona variabilele de dată:"
Maren.fritz (talk | contribs)
Created page with "* localize_date(data[, language = null]): Formatează o dată conform formatului de dată al sondajului pentru limba specificată. ** Data dată trebuie să urmeze următorul..."
Line 6: Line 6:
Funcții pentru motorul ExpressionScript pentru a gestiona variabilele de dată:
Funcții pentru motorul ExpressionScript pentru a gestiona variabilele de dată:


* localize_date(date[, language = null]): Formats a date according to the Survey's date format for the specified language.  
* localize_date(data[, language = null]): Formatează o dată conform formatului de dată al sondajului pentru limba specificată.  
** The date given should follow the following format "Y-m-d H:i:s", which is for example the one used by the TOKEN:VALIDFROM variable.  
** Data dată trebuie să urmeze următorul format „Ymd H:i:s”, care este, de exemplu, cel folosit de variabila TOKEN:VALIDFROM.  
** The language used for localization defaults to current session language. If the current language is not configured in the survey, the survey base language will be used. When using in email templates, please use the token language as parameter as to set the expected language. Example: TOKEN:LANGUAGE
** Limba utilizată pentru localizare este implicită la limba sesiunii curente. Dacă limba curentă nu este configurată în sondaj, va fi folosită limba de bază a sondajului. Când utilizați în șabloanele de e-mail, vă rugăm să utilizați limba simbolului ca parametru pentru a seta limba așteptată. Exemplu: TOKEN:LANGUAGE


This plugin uses the [[ExpressionManagerStart]] plugin, and it creates this function. These 2 functions don't use JavaScript, so they are fully executed by the server. In case the function is used while taking a survey, the function will be executed only when the respondent moves ahead in the survey.
This plugin uses the [[ExpressionManagerStart]] plugin, and it creates this function. These 2 functions don't use JavaScript, so they are fully executed by the server. In case the function is used while taking a survey, the function will be executed only when the respondent moves ahead in the survey.

Revision as of 16:02, 25 October 2023

 Hint: This features is available starting in version 5.XY


Utilizare

Funcții pentru motorul ExpressionScript pentru a gestiona variabilele de dată:

  • localize_date(data[, language = null]): Formatează o dată conform formatului de dată al sondajului pentru limba specificată.
    • Data dată trebuie să urmeze următorul format „Ymd H:i:s”, care este, de exemplu, cel folosit de variabila TOKEN:VALIDFROM.
    • Limba utilizată pentru localizare este implicită la limba sesiunii curente. Dacă limba curentă nu este configurată în sondaj, va fi folosită limba de bază a sondajului. Când utilizați în șabloanele de e-mail, vă rugăm să utilizați limba simbolului ca parametru pentru a seta limba așteptată. Exemplu: TOKEN:LANGUAGE

This plugin uses the ExpressionManagerStart plugin, and it creates this function. These 2 functions don't use JavaScript, so they are fully executed by the server. In case the function is used while taking a survey, the function will be executed only when the respondent moves ahead in the survey.

  Before using these functions, the plugin must be activated in Plugin Manager.


Usage Example on Welcome Message

Usage Example on Email Template