I have a bit of a delema as I try to program this bit of code. My church uses a schedule for all their livestreamed services, and I need to be able to use this schedule to decide whether to attempt showing a user video footage or to show them a screen that tells them that there is no live stream at the moment. The idea is, of course, that I compare their device's date and time to that of the scheduel. If they are the same or if the device's date and time are between start and end time, the console sends the livestream. The problem is the timing information for said schedule is in EST when Brightscript programming always operates in UCT.
..."Event_Start_Date":"2016-07-02T18:00:00","Event_End_Date":"2016-07-02T19:30:00",...
both of these ISO strings are in EST, and I do not have the means to change them to UCT for convenience. I can't seem to find a simple way to change the ISO time string to the proper time zone when looking through the roDateTime documentation. Does anybody have any simple suggestions on how to do this, or am I going to have to brute-force my way through this issue? (i.e. manually change the string to reflect UCT time)
I AM THE ARCHMAGE... who is also rather new to Brightscript so forgive me for seeming inept at times.