SlideShare a Scribd company logo
TECHNICAL SEMINAR – II
11Z609
PRESENTATION – II
Y2K38
By
Kiruthika P T
121CS160
1/16
Outline
• Introduction
• The problem
• Data structures
• Example in C
• Time and date calculation
• Importance of time
• Consequences
• Solutions
• Conclusion
2/16
Introduction
• The year 2038 problem
• Program
• Affects electronic chips
• Systems will go abnormal
3/16
The problem
• Unix
• 32 bit OS
• Signed integer
• 19-jan-2038, Tuesday, 03:14:07
• Break down
• Example
– Finance
4/16
Data structures
• File system
• Databases
• Embedded factory
• Refinery control
• Monitoring subsystem
• Assorted medical devices
• Assorted military devices
5/16
Example in C
main()
{
struct tm *tm_ptr;
time_t i;
i=2147483641;
for(;i<2147483651;i++){
gmtime_r(&i,tm_ptr);
printf("Date: %04d-%02d-%02d ",tm_ptr-
>tm_year+1900, tm_ptr->tm_mon+1, tm_ptr-
>tm_mday);
printf("Time: %02d:%02d:%02dn", tm_ptr->tm_hour,
tm_ptr->tm_min, tm_ptr->tm_sec);
}exit(0);
} 6/16
Output
Date: 2038-01-19 Time: 03:14:01
Date: 2038-01-19 Time: 03:14:02
Date: 2038-01-19 Time: 03:14:03
Date: 2038-01-19 Time: 03:14:04
Date: 2038-01-19 Time: 03:14:05
Date: 2038-01-19 Time: 03:14:06
Date: 2038-01-19 Time: 03:14:07
Date: 1901-12-13 Time: 20:45:52
Date: 1901-12-13 Time: 20:45:53
Date: 1901-12-13 Time: 20:45:54
7/16
• time_t is an integer
• 1-jan-1970 (12.00.00 AM)
• Seconds will be calculated
• time_t = 31,536,000 seconds
• By 2038 time_t will be over 2,140,000,000
Time and date calculation
8/16
• 32 bit Signed integer
• 31 bit can store up to 2,147,483,647
• 19-jan-2038 (03.14.07 AM)
• One second later disaster strikes.
Time and date calculation cont…
9/16
Time and date calculation cont…
10/16
Importance of time
• major aspect of the physical world
• Independent variable in computer world
• Real time application
• Example:
– Gun fire control,
– Automatic navigation,
– Missile guidance and
– Machine control
11/16
Consequences
• Scheduling software
• Billing programs
• Personal reminder calculator
• Satellite system
• Massive power outage
• Failure of support system
• Interruption of phone system
• Banking
12/16
Solution
• Re-define the time_t structure as 64-bit.
• Change time_t from 32-bit signed to 32-bit
unsigned.
• Shift from 32-bit systems to 64-bit systems.
• 64 bit representation will not come before 290
billion years.
13/16
Conclusion
• Y2K38 being a serious problem needs to be
solved properly and within time.
• The Y2K problem kept us engrossed and
worried in the year 1999.
• However, the Y2K38 problem is not as
obvious
14/16
QUERIES????
15/16
THANK YOU
16/16

More Related Content

What's hot

IP address & Domain name
IP address & Domain nameIP address & Domain name
IP address & Domain name
Akshay Jain
 
Smart quill ppt
Smart quill pptSmart quill ppt
Smart quill ppt
jyothsna vanka
 
20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging Technologies20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging Technologies
Seminar Links
 
I.t in space
I.t in spaceI.t in space
I.t in spacenunna09
 
Gaming console final presentation
Gaming console final presentationGaming console final presentation
Gaming console final presentationVivek Bharadwaj
 
SMART NOTE TAKER
SMART NOTE TAKERSMART NOTE TAKER
SMART NOTE TAKER
suresh8500472367
 
Touchless Touch screen technology
Touchless Touch screen technologyTouchless Touch screen technology
Touchless Touch screen technology
Anudeep Sharma Ramadugu
 
Pill Camera ppt
Pill Camera pptPill Camera ppt
Pill Camera ppt
Avinash Kunapareddy
 
Abstract Smart Card Technology
Abstract  Smart Card TechnologyAbstract  Smart Card Technology
Abstract Smart Card Technology
vishnu murthy
 
virtual laser keyboard
virtual laser keyboardvirtual laser keyboard
virtual laser keyboard
NTTF
 
Smart Mirror using Raspberry PI
Smart Mirror using Raspberry PISmart Mirror using Raspberry PI
Smart Mirror using Raspberry PI
Prathmesh Gavankar
 
The mouse!
The mouse!The mouse!
The mouse!
lapts
 
Smart note taker
Smart note takerSmart note taker
Smart note taker
ShingalaKrupa
 
network monitoring system ppt
network monitoring system pptnetwork monitoring system ppt
network monitoring system pptashutosh rai
 
Seminar report Of Touchless Touchscreen
Seminar report Of Touchless TouchscreenSeminar report Of Touchless Touchscreen
Seminar report Of Touchless Touchscreen
Lovely Professional University
 
Touchscreen Technology
Touchscreen TechnologyTouchscreen Technology
Touchscreen Technology
Puneeth Punny
 
IR Based Security Alarm
IR Based Security AlarmIR Based Security Alarm
IR Based Security Alarm
SyedHammadAli21
 
Jini technology ppt
Jini technology pptJini technology ppt
Human Area Networking Technology
Human Area Networking TechnologyHuman Area Networking Technology
Human Area Networking Technology
Vinayak Hegde
 

What's hot (20)

IP address & Domain name
IP address & Domain nameIP address & Domain name
IP address & Domain name
 
Smart quill ppt
Smart quill pptSmart quill ppt
Smart quill ppt
 
20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging Technologies20 Latest Computer Science Seminar Topics on Emerging Technologies
20 Latest Computer Science Seminar Topics on Emerging Technologies
 
I.t in space
I.t in spaceI.t in space
I.t in space
 
Gaming console final presentation
Gaming console final presentationGaming console final presentation
Gaming console final presentation
 
SMART NOTE TAKER
SMART NOTE TAKERSMART NOTE TAKER
SMART NOTE TAKER
 
Satrack
SatrackSatrack
Satrack
 
Touchless Touch screen technology
Touchless Touch screen technologyTouchless Touch screen technology
Touchless Touch screen technology
 
Pill Camera ppt
Pill Camera pptPill Camera ppt
Pill Camera ppt
 
Abstract Smart Card Technology
Abstract  Smart Card TechnologyAbstract  Smart Card Technology
Abstract Smart Card Technology
 
virtual laser keyboard
virtual laser keyboardvirtual laser keyboard
virtual laser keyboard
 
Smart Mirror using Raspberry PI
Smart Mirror using Raspberry PISmart Mirror using Raspberry PI
Smart Mirror using Raspberry PI
 
The mouse!
The mouse!The mouse!
The mouse!
 
Smart note taker
Smart note takerSmart note taker
Smart note taker
 
network monitoring system ppt
network monitoring system pptnetwork monitoring system ppt
network monitoring system ppt
 
Seminar report Of Touchless Touchscreen
Seminar report Of Touchless TouchscreenSeminar report Of Touchless Touchscreen
Seminar report Of Touchless Touchscreen
 
Touchscreen Technology
Touchscreen TechnologyTouchscreen Technology
Touchscreen Technology
 
IR Based Security Alarm
IR Based Security AlarmIR Based Security Alarm
IR Based Security Alarm
 
Jini technology ppt
Jini technology pptJini technology ppt
Jini technology ppt
 
Human Area Networking Technology
Human Area Networking TechnologyHuman Area Networking Technology
Human Area Networking Technology
 

Viewers also liked

Y2 k38.
Y2 k38.Y2 k38.
Will the computer world collapse in 2038?
Will the computer world collapse in 2038?Will the computer world collapse in 2038?
Will the computer world collapse in 2038?Joris Berthelot
 
NinjaScript and Mizugumo 2011-02-05
NinjaScript and Mizugumo 2011-02-05NinjaScript and Mizugumo 2011-02-05
NinjaScript and Mizugumo 2011-02-05
lrdesign
 
Y2k presented at Towson University December 1998
Y2k presented at Towson University   December 1998Y2k presented at Towson University   December 1998
Y2k presented at Towson University December 1998
Chaim Yudkowsky
 
Y2k (year 2000)
Y2k (year 2000)Y2k (year 2000)
Y2k (year 2000)
ZerOkami298
 
Junction Creative Solutions
Junction Creative SolutionsJunction Creative Solutions
Junction Creative Solutions
Conner Galway
 
Genetic Risk assesment
Genetic Risk assesmentGenetic Risk assesment
Genetic Risk assesment
Rafael Trujillo Vílchez
 
Y2K and You
Y2K and YouY2K and You
AR with vuforia
AR with vuforiaAR with vuforia
AR with vuforia
Thành Trần
 
Security features of atm
Security features of atmSecurity features of atm
Security features of atmargoncillo
 
ppt IT industry
ppt IT industryppt IT industry
ppt IT industryYash Joshi
 
digital watermarking
digital watermarkingdigital watermarking
digital watermarkingBharath
 
Digitalwatermarking
DigitalwatermarkingDigitalwatermarking
Digitalwatermarking
Sej Visawadia
 
Ppt of c++ vs c#
Ppt of c++ vs c#Ppt of c++ vs c#
Ppt of c++ vs c#
shubhra chauhan
 
Digital watermarking
Digital watermarkingDigital watermarking
Digital watermarkingrupareliab14
 
Data Warehouse 101
Data Warehouse 101Data Warehouse 101
Data Warehouse 101
PanaEk Warawit
 

Viewers also liked (20)

Y2 k38.
Y2 k38.Y2 k38.
Y2 k38.
 
Will the computer world collapse in 2038?
Will the computer world collapse in 2038?Will the computer world collapse in 2038?
Will the computer world collapse in 2038?
 
NinjaScript and Mizugumo 2011-02-05
NinjaScript and Mizugumo 2011-02-05NinjaScript and Mizugumo 2011-02-05
NinjaScript and Mizugumo 2011-02-05
 
Y2k presented at Towson University December 1998
Y2k presented at Towson University   December 1998Y2k presented at Towson University   December 1998
Y2k presented at Towson University December 1998
 
Y2k (year 2000)
Y2k (year 2000)Y2k (year 2000)
Y2k (year 2000)
 
Junction Creative Solutions
Junction Creative SolutionsJunction Creative Solutions
Junction Creative Solutions
 
Genetic Risk assesment
Genetic Risk assesmentGenetic Risk assesment
Genetic Risk assesment
 
Y2K and You
Y2K and YouY2K and You
Y2K and You
 
AR with vuforia
AR with vuforiaAR with vuforia
AR with vuforia
 
Windows dna
Windows dnaWindows dna
Windows dna
 
Security features of atm
Security features of atmSecurity features of atm
Security features of atm
 
ppt IT industry
ppt IT industryppt IT industry
ppt IT industry
 
digital watermarking
digital watermarkingdigital watermarking
digital watermarking
 
Digitalwatermarking
DigitalwatermarkingDigitalwatermarking
Digitalwatermarking
 
Ppt of c++ vs c#
Ppt of c++ vs c#Ppt of c++ vs c#
Ppt of c++ vs c#
 
Digital Watermarking
Digital WatermarkingDigital Watermarking
Digital Watermarking
 
Digital watermarking
Digital watermarkingDigital watermarking
Digital watermarking
 
Data Warehouse 101
Data Warehouse 101Data Warehouse 101
Data Warehouse 101
 
IT Industry in India
IT Industry in IndiaIT Industry in India
IT Industry in India
 
Hadoop
HadoopHadoop
Hadoop
 

Similar to Y2k38

Embedded Systems FIASCOS - Y2K Bug
Embedded Systems FIASCOS - Y2K BugEmbedded Systems FIASCOS - Y2K Bug
Embedded Systems FIASCOS - Y2K Bug
Nirusha Manandhar
 
GSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECT
GSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECTGSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECT
GSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECT
Athul MG
 
Bringing GOES Transmitters Back to the Future | YSI Webinar
Bringing GOES Transmitters Back to the Future | YSI WebinarBringing GOES Transmitters Back to the Future | YSI Webinar
Bringing GOES Transmitters Back to the Future | YSI Webinar
Xylem Inc.
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx
Sudeep35
 
Embedded Systems Online Training | Imagine life
Embedded Systems Online Training | Imagine lifeEmbedded Systems Online Training | Imagine life
Embedded Systems Online Training | Imagine life
Imagine life
 
Bits of energy
Bits of energyBits of energy
Bits of energy
Daniele Miorandi
 
Data acquisition and logging system
Data acquisition and logging systemData acquisition and logging system
Data acquisition and logging systemarpita3017
 
Introduction to IoT unit II
Introduction to IoT  unit IIIntroduction to IoT  unit II
Introduction to IoT unit II
Dr.M.Karthika parthasarathy
 
Introduction to Embedded Systems.pptx
Introduction to Embedded Systems.pptxIntroduction to Embedded Systems.pptx
Introduction to Embedded Systems.pptx
hkesrcr
 
lec12-pipelining.ppt
lec12-pipelining.pptlec12-pipelining.ppt
lec12-pipelining.ppt
ManimegalaM3
 
Building Climate Resilience: Translating Climate Data into Risk Assessments
Building Climate Resilience: Translating Climate Data into Risk Assessments Building Climate Resilience: Translating Climate Data into Risk Assessments
Building Climate Resilience: Translating Climate Data into Risk Assessments
Safe Software
 
Class 2 categories of processor
Class 2 categories of processorClass 2 categories of processor
Class 2 categories of processor
SURYAPRAKASH S
 
Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...
Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...
Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...
Vladimir Gutierrez, PhD
 
Powerstar.ppt
Powerstar.pptPowerstar.ppt
Powerstar.ppt
venuswetha
 
Introduction to IoT - Unit II.pptx
Introduction to IoT - Unit II.pptxIntroduction to IoT - Unit II.pptx
Introduction to IoT - Unit II.pptx
Dr.M.Karthika parthasarathy
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
IJERA Editor
 
MODULE4_MES.pdf
MODULE4_MES.pdfMODULE4_MES.pdf
MODULE4_MES.pdf
PoojaPK8
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
Manju Nathan
 
Manufacturing Technology-II Unit 5
Manufacturing Technology-II Unit 5Manufacturing Technology-II Unit 5
Manufacturing Technology-II Unit 5
Ravi Sankar
 

Similar to Y2k38 (20)

Embedded Systems FIASCOS - Y2K Bug
Embedded Systems FIASCOS - Y2K BugEmbedded Systems FIASCOS - Y2K Bug
Embedded Systems FIASCOS - Y2K Bug
 
GSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECT
GSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECTGSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECT
GSM BASED ELECTRICITY BILLING WITH TOD METERING -MINI PROJECT
 
Bringing GOES Transmitters Back to the Future | YSI Webinar
Bringing GOES Transmitters Back to the Future | YSI WebinarBringing GOES Transmitters Back to the Future | YSI Webinar
Bringing GOES Transmitters Back to the Future | YSI Webinar
 
18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx18CS44-MODULE3-PPT.pptx
18CS44-MODULE3-PPT.pptx
 
Embedded Systems Online Training | Imagine life
Embedded Systems Online Training | Imagine lifeEmbedded Systems Online Training | Imagine life
Embedded Systems Online Training | Imagine life
 
Bits of energy
Bits of energyBits of energy
Bits of energy
 
Data acquisition and logging system
Data acquisition and logging systemData acquisition and logging system
Data acquisition and logging system
 
Introduction to IoT unit II
Introduction to IoT  unit IIIntroduction to IoT  unit II
Introduction to IoT unit II
 
Introduction to Embedded Systems.pptx
Introduction to Embedded Systems.pptxIntroduction to Embedded Systems.pptx
Introduction to Embedded Systems.pptx
 
lec12-pipelining.ppt
lec12-pipelining.pptlec12-pipelining.ppt
lec12-pipelining.ppt
 
Building Climate Resilience: Translating Climate Data into Risk Assessments
Building Climate Resilience: Translating Climate Data into Risk Assessments Building Climate Resilience: Translating Climate Data into Risk Assessments
Building Climate Resilience: Translating Climate Data into Risk Assessments
 
Class 2 categories of processor
Class 2 categories of processorClass 2 categories of processor
Class 2 categories of processor
 
Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...
Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...
Integrated Geoprocessing for Generation of Affected Assets and Rights Reports...
 
Powerstar.ppt
Powerstar.pptPowerstar.ppt
Powerstar.ppt
 
Introduction to IoT - Unit II.pptx
Introduction to IoT - Unit II.pptxIntroduction to IoT - Unit II.pptx
Introduction to IoT - Unit II.pptx
 
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C ProtocolInterfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
Interfacing Of PIC 18F252 Microcontroller with Real Time Clock via I2C Protocol
 
MODULE4_MES.pdf
MODULE4_MES.pdfMODULE4_MES.pdf
MODULE4_MES.pdf
 
Embedded systems
Embedded systemsEmbedded systems
Embedded systems
 
Manufacturing Technology-II Unit 5
Manufacturing Technology-II Unit 5Manufacturing Technology-II Unit 5
Manufacturing Technology-II Unit 5
 
Unit5 170719122758
Unit5 170719122758Unit5 170719122758
Unit5 170719122758
 

Y2k38

  • 1. TECHNICAL SEMINAR – II 11Z609 PRESENTATION – II Y2K38 By Kiruthika P T 121CS160 1/16
  • 2. Outline • Introduction • The problem • Data structures • Example in C • Time and date calculation • Importance of time • Consequences • Solutions • Conclusion 2/16
  • 3. Introduction • The year 2038 problem • Program • Affects electronic chips • Systems will go abnormal 3/16
  • 4. The problem • Unix • 32 bit OS • Signed integer • 19-jan-2038, Tuesday, 03:14:07 • Break down • Example – Finance 4/16
  • 5. Data structures • File system • Databases • Embedded factory • Refinery control • Monitoring subsystem • Assorted medical devices • Assorted military devices 5/16
  • 6. Example in C main() { struct tm *tm_ptr; time_t i; i=2147483641; for(;i<2147483651;i++){ gmtime_r(&i,tm_ptr); printf("Date: %04d-%02d-%02d ",tm_ptr- >tm_year+1900, tm_ptr->tm_mon+1, tm_ptr- >tm_mday); printf("Time: %02d:%02d:%02dn", tm_ptr->tm_hour, tm_ptr->tm_min, tm_ptr->tm_sec); }exit(0); } 6/16
  • 7. Output Date: 2038-01-19 Time: 03:14:01 Date: 2038-01-19 Time: 03:14:02 Date: 2038-01-19 Time: 03:14:03 Date: 2038-01-19 Time: 03:14:04 Date: 2038-01-19 Time: 03:14:05 Date: 2038-01-19 Time: 03:14:06 Date: 2038-01-19 Time: 03:14:07 Date: 1901-12-13 Time: 20:45:52 Date: 1901-12-13 Time: 20:45:53 Date: 1901-12-13 Time: 20:45:54 7/16
  • 8. • time_t is an integer • 1-jan-1970 (12.00.00 AM) • Seconds will be calculated • time_t = 31,536,000 seconds • By 2038 time_t will be over 2,140,000,000 Time and date calculation 8/16
  • 9. • 32 bit Signed integer • 31 bit can store up to 2,147,483,647 • 19-jan-2038 (03.14.07 AM) • One second later disaster strikes. Time and date calculation cont… 9/16
  • 10. Time and date calculation cont… 10/16
  • 11. Importance of time • major aspect of the physical world • Independent variable in computer world • Real time application • Example: – Gun fire control, – Automatic navigation, – Missile guidance and – Machine control 11/16
  • 12. Consequences • Scheduling software • Billing programs • Personal reminder calculator • Satellite system • Massive power outage • Failure of support system • Interruption of phone system • Banking 12/16
  • 13. Solution • Re-define the time_t structure as 64-bit. • Change time_t from 32-bit signed to 32-bit unsigned. • Shift from 32-bit systems to 64-bit systems. • 64 bit representation will not come before 290 billion years. 13/16
  • 14. Conclusion • Y2K38 being a serious problem needs to be solved properly and within time. • The Y2K problem kept us engrossed and worried in the year 1999. • However, the Y2K38 problem is not as obvious 14/16