Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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