02-18-2022 07:10 AM
I have a script that we use to force close the Q for Meetings, Weather, etc. It is a simple True, False written to an XML file. I now need to take it a step further with the option of entering a Start Time and End Time. Issue I am running into is with Time variable. I want to use the following IF statement: T[now] > TStart and T[now] < TEnd. The trick I need help with - I want to have time entered in Military Time from the keypad. I store/upload that value to the XML file for reference. I then in the Q script pull those values into the script for comparison. How do I take String values from the XML and make them Time variables that can be compared in my IF statement. Also - how to use Military Time for this comparison?
Note: I did read a lot of previous post and some reference guides but the examples shown/used for some reason error for me when entering them in the script. Example: set RStart = TStart.getTime()
Solved! Go to Solution.
02-23-2022 05:51 AM
You can find some military time info here:
02-23-2022 05:51 AM
You can find some military time info here:
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide