cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Time Zone Change Impact on Timestamp Storage

SAPSupport
Employee
Employee
0 Likes
606

Hello SAP Support Team,
We are planning to update all our Linux/Unix application servers by using UTC time zone instead of EDT/EST


  • If data was stored in the database while the servers were set to EDT/EST, how will this information be displayed or interpreted after the servers are switched to UTC?
  • When SAP stores timestamped information in the database, does it use the application server’s local time, UTC, or another standard?
  • Are there any additional considerations we should be aware of?

------------------------------------------------------------------------------------------------------------------------------------------------
Learn more about the SAP Support user and program here.

Accepted Solutions (1)

Accepted Solutions (1)

SAPSupport
Employee
Employee

Switching your Linux/Unix application servers from EDT/EST to UTC can have several implications for how timestamped data is stored and interpreted. Here are the answers to your questions:

1. Interpretation of Data Stored in EDT/EST After Switching to UTC

If data was stored in the database while the servers were set to EDT/EST, the timestamps will reflect the local time zone (EDT/EST) at the time of storage. After switching the servers to UTC, the interpretation of these timestamps will depend on how your application handles time zones.

  • Display: If your application is designed to display timestamps in the server's local time zone, the timestamps will now be displayed in UTC. This means that a timestamp stored as "2023-10-01 12:00:00 EDT" will be displayed as "2023-10-01 16:00:00 UTC" after the switch.
  • Conversion: If your application converts timestamps to the user's local time zone, it should continue to do so correctly, provided it has access to the original time zone information (EDT/EST).

2. SAP Timestamp Storage

SAP typically stores timestamped information in UTC in the database. This approach ensures consistency and avoids issues related to time zone changes. When data is retrieved, SAP applications convert the UTC timestamps to the local time zone of the application server or the user.

3. Additional Considerations

Here are some additional considerations to keep in mind when switching your servers to UTC:

  • Database Schema: Ensure that your database schema can handle time zone conversions if necessary. Storing timestamps in UTC is generally recommended for consistency.
  • Application Logic: Review your application logic to ensure it correctly handles time zone conversions. This includes both displaying timestamps and processing time-sensitive data.
  • Scheduled Jobs: Update any scheduled jobs or cron tasks to reflect the change in time zone. Jobs scheduled in EDT/EST will need to be adjusted to run at the correct UTC time.
  • Logs and Monitoring: Update logging and monitoring tools to ensure they correctly interpret and display timestamps in UTC.
  • User Communication: Inform users about the change, especially if they rely on timestamped data. Provide guidance on how to interpret timestamps in the new time zone.
  • Testing: Thoroughly test your applications and systems to ensure they function correctly after the time zone change. Pay special attention to any time-sensitive operations.

By considering these factors, you can ensure a smooth transition to UTC and maintain the integrity and usability of your timestamped data.

Answers (0)