package | Default |
---|
localize_date(string $date,string|null $language = null): string
string
: a date in "Y-m-d H:i:s" format. Example: VALIDFROM.
string|null
: 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
string