$defaultTimeZone public property (available since version 2.0.1)
The time zone that is assumed for input values if they do not include a time zone explicitly.
The value must be a valid time zone identifier, e.g. UTC
, Europe/Berlin
or America/Chicago
. Please refer to the php manual for available time zones.
It defaults to UTC
so you only have to adjust this value if you store datetime values in another time zone in your database.
public string $defaultTimeZone = 'UTC'
Please login to continue.