Back
tzOffset
Table Cell formating
tzOffset
Offset hours from current time for all datetime fields
Default:
Display all datetime fields offset by this number of hours:

$this->tzOffset = -4;

When data is stored in the database, we will store it in the local time, but all dates (including in the edit/new forms) will be displayed using the tzOffset. When dates are edited or inserted, we restore the dates back to local time before saving.

Note that defaults defined for edit/new fields will not be changed.

 Basic:Yes  Advanced/Enterprise:Yes  DynamicEdit:Yes   [Version 4.2.7]