validators\DateValidator $timestampAttributeTimeZone

$timestampAttributeTimeZone public property (available since version 2.0.4)

The timezone to use when populating the $timestampAttribute. Defaults to UTC.

This can be any value that may be passed to date_default_timezone_set() e.g. UTC, Europe/Berlin or America/Chicago. Refer to the php manual for available timezones.

If $timestampAttributeFormat is not set, this property will be ignored.

See also $timestampAttributeFormat.

doc_Yii
2016-10-30 17:13:29
Comments
Leave a Comment

Please login to continue.