SlideShare a Scribd company logo
Daylight Saving Time and Slowing Down The Time 
What is Daylight Time Saving (or Is it Daylight Time Shifting)? 
It is not until November 18, 1883 that US and Canada have adopted a standard time. Before 
that time, the time keeping was a “local” matter. Some believe that Benjamin Franklin 
conceived the idea of Daylight Saving Time. Whoever was behind this idea, the purpose of 
Daylight Time Saving or changing the clock in Spring and Fall, seems to be to capture most 
sunlit hours with given a typical day work schedule. Also an early goal of DST was to reduce 
evening usage of incandescent lighting, formerly a primary use of electricity. But this is now 
debatable as energy usage patterns have greatly changed since then. 
Daylight Time Saving was first adopted by Germany and Austria in 1916 and soon after 
adopted by many countries. US formally adopted the plan in 1918. 
Daylight savings and clock adjustment: 
There is also good history behind choosing which day the shifting of clock should happen. If 
you are interested you can read more on one of the resources I have listed at the end of this 
writing. 
Currently adjustment of the clock is followed on the following days as shown below: 
Adjustment of Clock for Daylight Savings in a year 
When 
Shift 
clock? Daylight Saving Comment 
2nd Sunday of March at 2am 
Forward 
by 1hr 
Daylight Saving 
Starts Spring forward 
1st Sunday of November at 2am 
Backward 
by 1hr 
Daylight Saving 
Ends Fall Back 
So, for example, in 2009: 
On March 8th at 2am the clock was changed forward by 1hr to 3am. 
On Nov 1st at 2am change the clock was changed backward by 1hr to 1am.
What is “Double hour”? 
At the end of Daylight saving, on the 1st Sunday of November at 2am, you change your clock 
backwards from 2am to 1am. This means the clock goes from 1am to 2am twice. Double hour 
is this duration of the hour that your clock traverses twice from 1am to 2am. 
Why should we care about Daylight Saving in SAP environment? 
Almost all software that deals with local time will go bonkers when the computer clock goes 
through the same points in time twice (as explained in “Double Hour” scenario above.). SAP 
software is no exception to this either and is very sensitive to time. It expects time to continue 
in a progressive and continuous manner. If not there can be problems in the planned batch 
jobs. SAP Kernel being written in C/C++ uses C-runtime library functions and it can get 
confused between standard time and local time. 
How to deal with the “double hour”? 
There are at least three ways the double hour problem can be dealt with. Which method you 
adopt depends on your specific environment’s time zone settings and your tolerance for 
system downtime. 
1) Two hour downtime method: Avoid running SAP system during this double hour 
completely. 
2) One hour downtime method: Let SAP system run through the double hour only once, 
but shutdown SAP to avoid go through the double hour twice. 
3) Zero downtime method: Slow down the time in SAP System. 
Now Let us examine each method. 
Method-1) Two hour downtime 
The first method is a simple and straight forward. You simply shutdown the SAP system for 
the entire duration of double hour and bring it up only after the double hour passes. Thus the 
SAP Kernel software does not have to deal with any possible mismatch of standard time and 
local time. This means in practical terms for example in USA: 
1) Shutdown SAP at 1am. (of course you should start shutting down a little earlier as 
taking down the system takes a few minutes) 
2) Keep SAP system down for the next two hours. 
3) At 2am, your clock is changed from 2am to 1am for daylight saving time change. 
4) Wait for another hour until 2am is reached. 
5) Bring up SAP at 2am when the clock reaches this time again. 
Disadvantages: 
You need to keep the system down for 2 hours.
Method-2) One hour downtime 
The second method is pretty much the same as the first one, but you should adopt this only in 
cases where you know that all your SAP systems have identical local time settings. Then, you 
can reduce the downtime close to 1 hour instead of 2 hours. In practical terms here is what 
you can do: 
1. Shutdown SAP a little before 2am before the clock is changed back to 1am. 
2. Wait for one hour to pass and the clock comes back to 2am. 
3. Bring up SAP. 
This way your SAP system has gone through 1am to 2am only once. But you are keeping it 
down for the clock’s 2nd pass of this one hour duration, thus avoiding ‘duplicate’ points in time. 
Disadvantage: 
You need to keep the system down for a little over 1 hour, though better than two hour 
downtime as in method-1. 
Method-3) Zero Downtime (Slow down the time) 
Perception of slowing down time. 
This is a very clever solution and my favorite one of all. In this case, you slow down the time 
by half during the double hour so that it is only treated as one hour. In SAP it is easier than it 
appears to be. You set the parameter zdate/DSTswitch_contloctime = on (By the way this can 
be dynamically changed through RZ11), you can make your SAP system see a continuous time 
with a deviation of 30 minutes. (Note that you should check the pre-requisites in the notes 
mentioned at end of this article before you can do this). 
In practical terms, 
1. At 1am, that is one hour before the change of clock, your SAP system starts to see 
time progress slowly at half speed. 
2. For the next two hours SAP system will perceive time progress at half speed. 
3. The double hour is hence seen as one continuous hour by SAP. 
4. After two hours duration the clock time and SAP time will match and the system 
continues normally then onwards with matched times. 
For further reading, please refer to the resources at the end of this article.
Abbreviations: 
DST – Daylight Saving Time 
UTC – Universal Time Coordinated 
Resources: 
For a comprehensive history of daylight saving time, read 
http://en.wikipedia.org/wiki/Daylight_saving_time 
For some interesting incidents and anecdotes related to daylight saving, read 
http://www.webexhibits.org/daylightsaving/k.html 
For pre-requisites and official steps for any of the methods described above, read 
OSS note: 438660 End of daylight-saving time coming soon, be ready! 
OSS note: 102088 Reducing downtime when changing from summer to winter time 
OSS note: 7417 Slowing time to adjust daylight saving clock without downtime. 
OSS note: 950114 - Profile parameter zdate/DSTswitch_contloctime

More Related Content

Recently uploaded

一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
74nqk8xf
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
zsjl4mimo
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
Roger Valdez
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
74nqk8xf
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
Sm321
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
Social Samosa
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
manishkhaire30
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
sameer shah
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
apvysm8
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
Bill641377
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
kuntobimo2016
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
74nqk8xf
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
nyfuhyz
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
Sachin Paul
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
nuttdpt
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
javier ramirez
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Fernanda Palhano
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
g4dpvqap0
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
soxrziqu
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
AndrzejJarynowski
 

Recently uploaded (20)

一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
一比一原版(Coventry毕业证书)考文垂大学毕业证如何办理
 
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
一比一原版(Harvard毕业证书)哈佛大学毕业证如何办理
 
Everything you wanted to know about LIHTC
Everything you wanted to know about LIHTCEverything you wanted to know about LIHTC
Everything you wanted to know about LIHTC
 
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
一比一原版(牛布毕业证书)牛津布鲁克斯大学毕业证如何办理
 
Challenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more importantChallenges of Nation Building-1.pptx with more important
Challenges of Nation Building-1.pptx with more important
 
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
4th Modern Marketing Reckoner by MMA Global India & Group M: 60+ experts on W...
 
Learn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queriesLearn SQL from basic queries to Advance queries
Learn SQL from basic queries to Advance queries
 
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
STATATHON: Unleashing the Power of Statistics in a 48-Hour Knowledge Extravag...
 
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
办(uts毕业证书)悉尼科技大学毕业证学历证书原版一模一样
 
Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...Population Growth in Bataan: The effects of population growth around rural pl...
Population Growth in Bataan: The effects of population growth around rural pl...
 
State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023State of Artificial intelligence Report 2023
State of Artificial intelligence Report 2023
 
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
一比一原版(Chester毕业证书)切斯特大学毕业证如何办理
 
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
一比一原版(UMN文凭证书)明尼苏达大学毕业证如何办理
 
Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......Palo Alto Cortex XDR presentation .......
Palo Alto Cortex XDR presentation .......
 
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
一比一原版(UCSF文凭证书)旧金山分校毕业证如何办理
 
The Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series DatabaseThe Building Blocks of QuestDB, a Time Series Database
The Building Blocks of QuestDB, a Time Series Database
 
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdfUdemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
Udemy_2024_Global_Learning_Skills_Trends_Report (1).pdf
 
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
一比一原版(爱大毕业证书)爱丁堡大学毕业证如何办理
 
University of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma TranscriptUniversity of New South Wales degree offer diploma Transcript
University of New South Wales degree offer diploma Transcript
 
Intelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicineIntelligence supported media monitoring in veterinary medicine
Intelligence supported media monitoring in veterinary medicine
 

Featured

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
Marius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
Expeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
Pixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 

Featured (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Changing daylight saving time slowing down the time- with pictures

  • 1. Daylight Saving Time and Slowing Down The Time What is Daylight Time Saving (or Is it Daylight Time Shifting)? It is not until November 18, 1883 that US and Canada have adopted a standard time. Before that time, the time keeping was a “local” matter. Some believe that Benjamin Franklin conceived the idea of Daylight Saving Time. Whoever was behind this idea, the purpose of Daylight Time Saving or changing the clock in Spring and Fall, seems to be to capture most sunlit hours with given a typical day work schedule. Also an early goal of DST was to reduce evening usage of incandescent lighting, formerly a primary use of electricity. But this is now debatable as energy usage patterns have greatly changed since then. Daylight Time Saving was first adopted by Germany and Austria in 1916 and soon after adopted by many countries. US formally adopted the plan in 1918. Daylight savings and clock adjustment: There is also good history behind choosing which day the shifting of clock should happen. If you are interested you can read more on one of the resources I have listed at the end of this writing. Currently adjustment of the clock is followed on the following days as shown below: Adjustment of Clock for Daylight Savings in a year When Shift clock? Daylight Saving Comment 2nd Sunday of March at 2am Forward by 1hr Daylight Saving Starts Spring forward 1st Sunday of November at 2am Backward by 1hr Daylight Saving Ends Fall Back So, for example, in 2009: On March 8th at 2am the clock was changed forward by 1hr to 3am. On Nov 1st at 2am change the clock was changed backward by 1hr to 1am.
  • 2. What is “Double hour”? At the end of Daylight saving, on the 1st Sunday of November at 2am, you change your clock backwards from 2am to 1am. This means the clock goes from 1am to 2am twice. Double hour is this duration of the hour that your clock traverses twice from 1am to 2am. Why should we care about Daylight Saving in SAP environment? Almost all software that deals with local time will go bonkers when the computer clock goes through the same points in time twice (as explained in “Double Hour” scenario above.). SAP software is no exception to this either and is very sensitive to time. It expects time to continue in a progressive and continuous manner. If not there can be problems in the planned batch jobs. SAP Kernel being written in C/C++ uses C-runtime library functions and it can get confused between standard time and local time. How to deal with the “double hour”? There are at least three ways the double hour problem can be dealt with. Which method you adopt depends on your specific environment’s time zone settings and your tolerance for system downtime. 1) Two hour downtime method: Avoid running SAP system during this double hour completely. 2) One hour downtime method: Let SAP system run through the double hour only once, but shutdown SAP to avoid go through the double hour twice. 3) Zero downtime method: Slow down the time in SAP System. Now Let us examine each method. Method-1) Two hour downtime The first method is a simple and straight forward. You simply shutdown the SAP system for the entire duration of double hour and bring it up only after the double hour passes. Thus the SAP Kernel software does not have to deal with any possible mismatch of standard time and local time. This means in practical terms for example in USA: 1) Shutdown SAP at 1am. (of course you should start shutting down a little earlier as taking down the system takes a few minutes) 2) Keep SAP system down for the next two hours. 3) At 2am, your clock is changed from 2am to 1am for daylight saving time change. 4) Wait for another hour until 2am is reached. 5) Bring up SAP at 2am when the clock reaches this time again. Disadvantages: You need to keep the system down for 2 hours.
  • 3. Method-2) One hour downtime The second method is pretty much the same as the first one, but you should adopt this only in cases where you know that all your SAP systems have identical local time settings. Then, you can reduce the downtime close to 1 hour instead of 2 hours. In practical terms here is what you can do: 1. Shutdown SAP a little before 2am before the clock is changed back to 1am. 2. Wait for one hour to pass and the clock comes back to 2am. 3. Bring up SAP. This way your SAP system has gone through 1am to 2am only once. But you are keeping it down for the clock’s 2nd pass of this one hour duration, thus avoiding ‘duplicate’ points in time. Disadvantage: You need to keep the system down for a little over 1 hour, though better than two hour downtime as in method-1. Method-3) Zero Downtime (Slow down the time) Perception of slowing down time. This is a very clever solution and my favorite one of all. In this case, you slow down the time by half during the double hour so that it is only treated as one hour. In SAP it is easier than it appears to be. You set the parameter zdate/DSTswitch_contloctime = on (By the way this can be dynamically changed through RZ11), you can make your SAP system see a continuous time with a deviation of 30 minutes. (Note that you should check the pre-requisites in the notes mentioned at end of this article before you can do this). In practical terms, 1. At 1am, that is one hour before the change of clock, your SAP system starts to see time progress slowly at half speed. 2. For the next two hours SAP system will perceive time progress at half speed. 3. The double hour is hence seen as one continuous hour by SAP. 4. After two hours duration the clock time and SAP time will match and the system continues normally then onwards with matched times. For further reading, please refer to the resources at the end of this article.
  • 4. Abbreviations: DST – Daylight Saving Time UTC – Universal Time Coordinated Resources: For a comprehensive history of daylight saving time, read http://en.wikipedia.org/wiki/Daylight_saving_time For some interesting incidents and anecdotes related to daylight saving, read http://www.webexhibits.org/daylightsaving/k.html For pre-requisites and official steps for any of the methods described above, read OSS note: 438660 End of daylight-saving time coming soon, be ready! OSS note: 102088 Reducing downtime when changing from summer to winter time OSS note: 7417 Slowing time to adjust daylight saving clock without downtime. OSS note: 950114 - Profile parameter zdate/DSTswitch_contloctime