> Source: [sk32647](https://support.checkpoint.com/results/sk/sk32647)

# sk32647 - Entries in /var/log/messages files have different timestamps when using NTP Server - some entries are shown with local time, and some entries are shown with correct UTC/GMT time

| Property | Value |
|----------|-------|
| Solution ID | sk32647 |
| Date Created | 2007-03-11 |
| Last Modified | 2023-10-02 |
| Technical Level | General |
| Products | Security Gateway, Security Management Server |
| Versions | R82.10, R82, R81.20, R82.20 |

## Symptoms

- Entries in /var/log/messages files have different timestamps when using NTP Server - some entries are shown with local time, and some entries are shown with correct UTC/GMT time.  

Example:  

`Oct 2 11:33:45 HostName cpshell: admin had left the expert mode`  
`Oct 2 11:33:47 HostName cpshell: cmd by admin: exit`  
`Oct 2 09:33:47 HostName sshd(pam_unix)[19739]: session closed for user admin`  

`Oct 3 07:25:07 HostName sshd(pam_unix)[7487]: session opened for user admin by (uid=0)`  
`Oct 3 09:25:17 HostName cpshell: cmd by admin: expert`  
`Oct 3 09:25:19 HostName cpshell: expert mode was entered by admin`  

`Oct 3 10:49:11 HostName shell: cmd by admin: exit`  
`Oct 3 10:49:11 HostName cpshell: admin had left the expert mode`  
`Oct 3 10:49:12 HostName cpshell: cmd by admin: exit`  
`Oct 3 08:49:12 HostName sshd(pam_unix)[7487]: session closed for user admin`

## Cause

The NTP Server reports its local time to all the client machines that are synchronized with it. The clients then calculate their local time and date based on the NTP server's data and the client's Local Time Zone setup.

If the client's Local Time Zone was defined incorrectly, the client's local time and date is calculated incorrectly. The NTP Server query still displays full synchronization state for this client.

## Solution

**Note:** No new VPN tunnels will be established during the execution of the Time Zone change.

If two Firewalls are connected via Site-to-Site, if one of the Firewall's Time Zones changes and the other Firewall is still running the previous Time Zone Setup, no new tunnels will be created due to the time difference between the two VPN members.

However, existing tunnels will not be affected.

Configuration of Time Zone on SecurePlatform OS should be done as follows:

1. The time should be configured on CLI in Expert mode:   

   1. Go to '`sysconfig`' menu:   

      `[Expert@HostName]# `**sysconfig**   

   2. Select **4) Time and Date**   

   3. Configure the date and time settings.   

   <br />

   <br />

2. Configure the NTP Servers with **the same** GMT offset as was specified in '`sysconfig`' menu.

**Reference:**

<http://en.wikipedia.org/wiki/Network_Time_Protocol>

Refer to [Overview](http://en.wikipedia.org/wiki/Network_Time_Protocol#Overview) section:
> NTP provides Coordinated Universal Time (UTC) including scheduled leap second adjustments. **No information about time zones or daylight saving time is transmitted; this information is outside its scope** and must be obtained separately.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
