Roku Developer Program

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

How to check what time it is?

I have live streams that are scheduled for certain times I would like the poster screen to vary depending on when the stream is live.

How do I get the current time?
If the roku does not have a system time, can I check some time keeper server?
0 Kudos
2 Replies
Level 8

Re: How to check what time it is?
date = CreateObject("roDateTime")
print "The date is now "; date.AsDateString("long-date")

More methods detailed here: - A free web app for Roku Remote Control!
Want to control your Roku from nearly any phone, computer or tablet? Get started at
by Apps4TV - Applications for television and beyond:
0 Kudos

Re: How to check what time it is?

thank you very much Smiley Very Happy
0 Kudos