i18n\Formatter $timeFormat

$timeFormat public property

The default format string to be used to format a time. 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:

'HH:mm:ss' // time in ICU format
'php:H:i:s' // the same time in PHP format
public string $timeFormat = 'medium'
doc_Yii
2016-10-30 17:05:55
Comments
Leave a Comment

Please login to continue.