I want to judge two time periods,
9:30 - 18:00 is work time, otherwise it is relax time.
I use the %ICUDateTime%HH% ,but the result can not compare with Integer number.
How to distinguish these two time periods ? Thanks very much
I want to judge two time periods,
9:30 - 18:00 is work time, otherwise it is relax time.
I use the %ICUDateTime%HH% ,but the result can not compare with Integer number.
How to distinguish these two time periods ? Thanks very much
Store %ICUDateTime%H%
and %ICUDateTime%m%
in variables and then do calculations and comparisons with those variables. Keyboard Maestro will convert them to numbers as needed. Like this:
With your help, I have solved it , thanks very much