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: 
greubel
Level 7

toLocalTime() usage

What is the correct usage of toLocalTime() ? The doc is not to clear !
0 Kudos
1 Reply
Highlighted
greubel
Level 7

Re: toLocalTime() usage

Never mind. This works.

dt = CreateObject( "roDateTime" )
dt.Mark()
dt.toLocalTime()

Plus it helps if you set the timezone in the screensaver settings.
0 Kudos