> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TZDstRule table

> Time zone rule for daylight saving time

## TZDstRule Table (247)

Time zone rule for daylight saving time

## Fields

| Name                      | Description                                                                                                                           | Type                              | Nullable |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------- | :------: |
| TZDstRule\_id             | Primary key                                                                                                                           | PK                                |    No    |
| TZLocationId              | Location that this rule is valid for - one location may have one or more rules; multiple rules are discerned by their validFrom dates | FK [TZLocation](./tzlocation.mdx) |    No    |
| validFrom                 | Date this rule is valid from                                                                                                          | DateTime                          |    No    |
| bias                      | number of minutes bias relative to UTC time                                                                                           | Short                             |    No    |
| startRule                 | DST start rule, such as 0200 1ST-SUN-APR; limited to rules that we have parse code for; use dayOfMonth etc for custom rules           | String(254)                       |    Yes   |
| endRule                   | DST end rule, such as 2300 LST-SAT-OCT; limited to rules that we have parse code for; use dayOfMonth etc for custom rules             | String(254)                       |    Yes   |
| startDayOfMonth           | Custom DST start day, if 0 then parse startRule                                                                                       | UShort                            |    Yes   |
| startMonth                | Custom DST start month, if 0 then parse startRule                                                                                     | UShort                            |    No    |
| endDayOfMonth             | Custom DST end day, if 0 then parse endRule                                                                                           | UShort                            |    No    |
| endMonth                  | Custom DST end month, if 0 then parse endRule                                                                                         | UShort                            |    No    |
| description               | Description, for identifying the rule in SoAdmin                                                                                      | String(2047)                      |    Yes   |
| isBuiltIn                 | Is this row part of SuperOffice priming data                                                                                          | Bool                              |    Yes   |
| registered                | Registered when                                                                                                                       | UtcDateTime                       |    No    |
| registered\_associate\_id | Registered by whom                                                                                                                    | FK [associate](./associate.mdx)   |    No    |
| updated                   | Last updated when                                                                                                                     | UtcDateTime                       |    No    |
| updated\_associate\_id    | Last updated by whom                                                                                                                  | FK [associate](./associate.mdx)   |    No    |
| updatedCount              | Number of updates made to this record                                                                                                 | UShort                            |    No    |

<img src="https://mintcdn.com/superofficeas/3ZhivzBeXAvFeVZx/media/loc/en/database/tables/TZDstRule.png?fit=max&auto=format&n=3ZhivzBeXAvFeVZx&q=85&s=4a6c7be8a6e7c06e42f53939d88bb3df" alt="TZDstRule table relationship diagram" width="651" height="59" data-path="media/loc/en/database/tables/TZDstRule.png" />

## Indexes

| Fields       | Types | Description |
| ------------ | ----- | ----------- |
| TZLocationId | FK    | Index       |

## Relationships

| Table                      | Description                                                        |
| -------------------------- | ------------------------------------------------------------------ |
| [associate](./associate)   | Employees, resources and other users - except for External persons |
| [TZLocation](./tzlocation) | Time zone location                                                 |

## Replication Flags

* Replicate changes DOWN from central to satellites and travellers.
* Replicate changes UP from satellites and travellers back to central.
* Copy to satellite and travel prototypes.

## Security Flags

* No access control via user's Role.


## Related topics

- [TZLocation table](/en/database/tables/tzlocation.md)
- [NSTimeZoneRule](/en/automation/crmscript/reference/CRMScript.NetServer.NSTimeZoneRule.md)
- [SuperOffice.WebApi.Data.TimeZoneRule](/en/api/reference/webapi/SuperOffice.WebApi.Data.TimeZoneRule.md)
- [associate table](/en/database/tables/associate.md)
- [password_rules table](/en/database/tables/password-rules.md)
- [TZStdRule table](/en/database/tables/tzstdrule.md)
