My Sony date setup seems to only goes up to year 2037

2 months 4 weeks ago #677756 by Victor.E
I just picked up a second hand Sony, and strangely enough the date setup only goes up to 2037.  

So what happens in 2038?


Photo Comments

Please Log in or Create an account to join the conversation.

,
2 months 4 weeks ago #677758 by Nikon Shooter
1, you will have grown over it anyway or
2, you will be informed of a firmware! :P

Be patient, Victor. :)

Light is free… capturing it is not!
This person is a posting maniac and deserves a #1 badge!Top Poster
Photo Comments

Please Log in or Create an account to join the conversation.

,
2 months 4 weeks ago #677760 by Victor.E
Yeah, true.  But found it interesting why it stopped at 2037.  


Photo Comments

Please Log in or Create an account to join the conversation.

,
2 months 4 weeks ago #677776 by garyrhook
Because the datum storing the date (in seconds) is a signed 32-bit quantity.

The epoch, according to Unix, occurred on December 31, 1969.

A 32-bit signed integer can hold a maximum value of 2 billion, or, to be exact, 0x7FFFFFFF (hexadecimal) or 2,147,483,647 in decimal. This represents the date, in the number of seconds since the epoch.

Thus, midnight on Jan. 2, 1970 would be represented by a value of (60*60*24) = 86,400.

Extending this, the maximum number of seconds since midnight, Dec. 31, 1969 turns out to be 
60 * 60 = 3600 seconds / hour
3600 * 24 = 86400 seconds / day
86,400 * 365 = 31,536,000 seconds / year (non-leap years)
which gives us
2147483647 / 31536000 = 68 years, with 3 million seconds left over, or about 35 days.
Taking into account the leap years between 1970 and 2038, we get 16 more days.

So, a signed 32-bit value can represent the dates starting Jan 1, 1970 up to Jan. 19, 2038. Most data systems simply stop at the end of 2037.

If I've done my math correctly, of course.

The solution for this problem is to move to a 64-bit value to represent the date (still relative to 1970), but capable of handling dates until the year 446,676,600,546. This is been done in most computer systems.

But apparently not in your Sony. One presumes that any copies of the files will be recognized as only supporting 32-bit dates, and interpreted accordingly.


Photo Comments

Please Log in or Create an account to join the conversation.

,
2 months 4 weeks ago #677794 by CatherineW
Another super detailed answer from Gary, if you need any other details, this should help:  https://en.wikipedia.org/wiki/Year_2038_problem

***Remember 9/11***
Photo Comments

Please Log in or Create an account to join the conversation.

,

802.3K

205K

1.62M

  • Facebook

    802,251 / Likes

  • Twitter

    205,000 / Followers

  • Google+

    1,620,816 / Followers

Latest Reviews

In the Canon 5D Mark III vs Canon 1D Mark IV battle, which of these older cameras is right for you? Get all the details on these oldies but goodies in this comparison review.

May 27, 2020

The Fujifilm X-T4 was released just a couple of months ago and represents a nice update to the X-T3. In this Fujifilm X-T4 review, we'll discuss specs, features, build, handling, and more.

May 20, 2020

Not sure if the Canon 5Ds R is right for you in 2020? Let us help you decide with this detailed Canon 5Ds R review.

May 20, 2020

Is the Fujifilm GFX 50S medium format camera the right choice for you? Find out in this quick review of its specs, build quality, video capabilities, and more.

May 18, 2020
Get 600+ Pro photo lessons for $1

Forum Top Posters

Latest Articles

There are many reasons why you should print on metal, including the durability and uniqueness of metal prints, as well as all the options you have for customizing your print.

May 29, 2020

Razer has unleashed the 2020 version of their Blade 15 Studio, and it is an incredible machine with the power visual creatives need.

May 29, 2020

Canvas or paper prints can be a nice addition to your home, but each one has distinct advantages and disadvantages that are helpful to know before you buy.

May 27, 2020

In the Canon 5D Mark III vs Canon 1D Mark IV battle, which of these older cameras is right for you? Get all the details on these oldies but goodies in this comparison review.

May 27, 2020

I have two high-powered laptops on my desk. In this Macbook vs Razer comparison, I'll break these computers down by specs, pros, and cons.

May 27, 2020

There are plenty of items photographers need, including office equipment that improves your workflow, the functionality of your space, and makes you more comfortable.

May 26, 2020

If you're in the market for a new camera strap and you want something custom and handmade, look no further than these custom camera straps from Holdfast.

May 26, 2020

You can learn nude photography with any kind of camera. What's more important is to focus on the process and making the model (and yourself) as comfortable as possible.

May 26, 2020