Forum Discussion

simongranger's avatar
6 years ago

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?

1 Reply

  • RokuKC's avatar
    RokuKC
    Roku Employee

    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.