balbant
Streaming Star
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2017
07:10 AM
Convert time and date from one time zone to another.
I have a particular date and time. Now, I want to convert the time according to device current time zone. Basically what I need is an script that, when provided with a time and a timezone can return the time in another time zone. How can I achieve it ?
1 REPLY 1
joetesta
Roku Guru
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2017
10:33 AM
Re: Convert time and date from one time zone to another.
Sounds like you'd first need to convert the incoming time to UTC then you can use this to get the box's local time: ToLocalTime[/url:33qrxmw3]
aspiring