Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
simongranger
Level 7

roDateTime vs Year 2038 problem

Had to use roDateTime asSeconds and fromSeconds methods, and realized it was using a 32-bit integer to represent epoch time, which means it can't handle time above 03:14:07 UTC on 19 January 2038. Are there workaround native components that use 64-bit integers for date/time handling at the moment?

0 Kudos
1 REPLY 1
RokuKC
Roku Employee
Roku Employee

Re: roDateTime vs Year 2038 problem

There will be some additional support for these APIs in a future Roku OS release, but Roku OS 9.2 is limited as you describe.

 

 

0 Kudos