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

# Time synchronization

> Set the time server managed devices sync with, their time zone and automatic time on macOS and Windows.

The Time synchronization control keeps the clocks of your devices accurate. It sets the network time server they sync with, their time zone, and, on a Mac, whether the date and time must be set automatically.

## Platform compatibility

| macOS | Windows | Linux | iOS / iPadOS | Android |
| - | - | - | - | - |
| ✅ | ✅ | | | |

Requires macOS 15 or later.

## Set up the control

**1. Add a configuration**

Go to **MDM** > **Controls** and open **Time synchronization**. Select the platform tab, then click **Add configuration**.

**2. Configure the settings**

Set each setting you want to enforce. See the settings below. Configure at least one setting.

**3. Select targeting**

Choose which devices to apply the configuration to: all devices on that platform, specific device groups, or a custom target. Click **Activate** to deploy the configuration. **Save** keeps it inactive.

A setting left empty or on **Not configured** isn't written: the device keeps its own setting.

## Settings

> [tab] macOS
>
> | Setting | Options |
> | - | - |
> | **Time server** | A host name or an IP address, such as `time.example.com` |
> | **Time zone** | A tz database name, such as `Europe/Paris` or `UTC` |
> | **Set the time automatically** | **Required**, **User's choice**, **Not configured** |
>
> * **Time server** is the NTP server the Mac synchronizes its clock with.
> * **Set the time automatically** set to **Required** means the employee can't turn off setting the date and time automatically.

> [tab] Windows
>
> | Setting | Options |
> | - | - |
> | **Time server** | A host name or an IP address, such as `time.example.com` |
> | **Time zone** | A tz database name, such as `Europe/Paris` |
> | **Sync the clock with NTP servers** | **On**, **Off**, **Not configured** |
> | **Serve time to other devices** | **On**, **Off**, **Not configured** |
>
> * **Time server** is the NTP server the PC synchronizes its clock with.
> * **Time zone** takes a tz database name that Windows has a time zone for, and applies it as its Windows time zone (`Europe/Paris` becomes Romance Standard Time).
> * **Sync the clock with NTP servers** set to **Off** stops the PC from setting its clock from NTP servers, for a third-party time provider.
> * **Serve time to other devices** set to **On** makes the PC answer the NTP time requests of other computers.

## How it works

> [tab] macOS
>
> Primo deploys a configuration profile with up to two payloads, only for the settings you configured: a time server payload for the time server and the time zone, and a time synchronization payload for automatic time.

> [tab] Windows
>
> Primo applies the settings through Windows policies for the whole device: the Windows Time service's NTP client and NTP server policies, and the time zone setting. With a time server set, the PC polls it as an NTP client every 1,024 seconds.

> [!WARNING]
>
> The time zone is not put back when you remove the configuration: the device keeps it. On a Mac, the time server stays too. To change them, deploy a new configuration with other values.

## Modify or remove the control

Open the control from **MDM > Controls** to edit, deactivate or replace a configuration.

## Related articles

* [Controls overview](https://docs.getprimo.com/mdm/policies/overview.md)
* [Event logging](https://docs.getprimo.com/mdm/policies/event-logging.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.