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.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Channel Surfer

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

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
Channel Surfer

Re: How to check what time it is?

thank you very much 😄
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.