i18n\Formatter $dateFormat

$dateFormat public property

The default format string to be used to format a date. This can be "short", "medium", "long", or "full", which represents a preset format of different lengths.

It can also be a custom format as specified in the ICU manual. Alternatively this can be a string prefixed with php: representing a format that can be recognized by the PHP date()-function.

For example:

'MM/dd/yyyy' // date in ICU format
'php:m/d/Y' // the same date in PHP format
public string $dateFormat = 'medium'
doc_Yii
2016-10-30 17:05:52
Comments
Leave a Comment

Please login to continue.