The following is some code which I have written that works on a 24 Hour clock which is used to switch a process on and off based on the start and finish times input by the user.
My question is not because the code does not work rather is there a simpler methodology to achieve the same result.
;//Start and Finish Timer '24 Hour Cycle'
;//Date Time Processing
#include <Date.au3>
;//Variables
Dim $Y, $M, $D
Global $Error = 0, $sSwitchOnOff = 0
;//Input in 24 Hr Time Format
Global $E