cancel
Showing results for 
Search instead for 
Did you mean: 

Is the <time.h> library safe to use after the year 2038?

Not applicable

I noticed that STM32CubeIDE allows you to use a 64-bit variable, I would like to know if the time.h library is already updated with a 64-bit variable.

https://en.wikipedia.org/wiki/Year_2038_problem

5 REPLIES 5
Not applicable

Thanks,

Does this mean that What comes with STM32CubeIDE 1.4.1 is already safe from the year 2038 problem?

I don't know what comes with CubeIDE, I don't use it.

JW

You're the developer, use the libraries that meet or exceed your expectations.

Use your own tested/validated code for things which are critial.​

Not sure the RTC is rated beyond 2099​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Not applicable

Thanks, I'm using DS3231.