cancel
Showing results for 
Search instead for 
Did you mean: 

Year 2038 Problem

Brian12412
Associate II

Does STM currently have a guideline or recommendation(s) for handling the 2038 problem?

4 REPLIES 4
tjaekel
Lead

What is it?

repaint
Associate II

You mean the year 2038 problem - as @repaint suggested ?

Where do you see that being a specific issue for the STM32 ?

AScha.3
Chief III

You ask about a problem with systems which measure Unix time .

But here is not a Unix system, but just a controller with RTC , that has only years 10 + 1 in BCD : 2025 is only "25" in RTC :

AScha3_0-1740742377026.png

So its up to you, how you handle the full date in your software :

if using a uint_16t to store the "full" year, you will get a problem in the year 65536 - if your device still running and in use.  How long you expect it working and be in use ?

If you feel a post has answered your question, please click "Accept as Solution".