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

toLocalTime() usage

What is the correct usage of toLocalTime() ? The doc is not to clear !
0 Kudos
1 REPLY 1
greubel
Visitor

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