Skip to content
Advertisement

Tag: hour

How to know if now time is between two hours?

I have a now time: And I have some hour constants, for example, 23 and 8 (it’s 11pm or 23:00, 8am or 08:00). How I can know is now time between it’s two hour constants? It need to run some code of program or not to run if now time is between in two hours, for example, do not run

Advertisement