हिंदी में देखें |


What is Y2k38


Contents :-

What is Y2k38?

The Year 2000 problem is understood by most people these days because of the large amount of media attention it received.

Most programs written in the C programming language are relatively immune to the Y2K problem, but suffer instead from the Year 2038 problem. This problem arises because most C programs use a library of routines called the standard time library.

This library establishes a standard 4-byte format for the storage of time values, and also provides a number of functions for converting, displaying and calculating time values.


The standard 4-byte format assumes that the beginning of time is January 1, 1970, at 12:00:00 a.m. This value is 0. Any time/date value is expressed as the number of seconds following that zero value. So the value 919642718 is 919,642,718 seconds past 12:00:00 a.m. on January 1, 1970, which is Sunday, February 21, 1999, at 16:18:38 Pacific time (U.S.).

This is a convenient format because if you subtract any two values, what you get is a number of seconds that is the time difference between them. Then you can use other functions in the library to determine how many minutes/hours/days/ months/years have passed between the two times.

A signed 4-byte integer has a maximum value of 2,147,483,647, and this is where the Year 2038 problem comes from. The maximum value of time before it rolls over to a negative (and invalid) value is 2,147,483,647, which translates into January 19, 2038. On this date, any C programs that use the standard time library will start to have problems with date calculations.

This problem is somewhat easier to fix than the Y2K problem on mainframes, fortunately. Well-written programs can simply be recompiled with a new version of the library that uses, for example, 8-byte values for the storage format.

This is possible because the library encapsulates the whole time activity with its own time types and functions (unlike most mainframe programs, which did not standardize their date formats or calculations). So the Year 2038 problem should not be nearly as hard to fix as the Y2K problem was.

.....Previous     Same     Next.....

Tags- What is Y2k38 | What was the y2k problem? | What is Unix 32 Bit time? | When did UNIX time start? | What date time is Unix time calculated based off of? | What is the 2038 problem? | What's y2k mean? | When did the y2k scare start? | When did the y2k scare happen? | Where did y2k happen? | What is the y2k apocalypse? | How much money was spent on y2k? | What does y2k stand for? | What does y2j mean? | What is y2k clothing? | What does y2 mean in math? | What is coefficient example? | What is a term in math example? | How do you know which one is y1 and y2? | What is rise and run? | What is the slope? | What is an example of slope? | What is a slope in math terms? | What is slope in real life? | What is the equation for slope? | What does y2j stand for? | What is the year 2000? | When was the year 1? | Are we in the 21st century? | Why is it called the 21st century and not the 20th? | What millennium are we living in? | What is this decade called? | How are centuries defined? | What is twenty years called? | What is a period of 50 years called? | What is a period of 1000 years called? | What is 2000 years called? | What are 10000 years called? | How old is one generation? | How many years is a generation? | Who is Gen Z? | What is the current generation called? | What is Gen Z years? | What is my generation? | What is the generation of 1999? | What ages are Generation Z? | How old is Generation Z? | Who are the Millennials? | How old are the baby boomers? | What age is a millennial? | What is the 2004 generation called? | What are the characteristics of Generation Z? | What era is baby boomers? | How old are Millennials?

Home|Indian Doctors|Indian Hospitals|Utility|Career|Electronics|Family|General|Health|PC Tips|Technology|About Us|About Admin|Feedback|Apply For Job Computer Courses|Login| Created by - Er. Sanjay Singh