I’ve ran into a problem concerning the Constant Date and time and specific the Hour. When i try to create a simple formula it does not return the correct info. For example:
1
2
3
4
5
6
IF(Hour[1]=15)THEN
signal=1
ELSE
signal=0
ENDIF
RETURNsignal
This returns nothing but when i change 15 to 16 it returns a signal at 15:00. It is getting weirder when i fill in 22:00 then it returns a signal at 21:00 and 22:00. Did anyone ran into this problem as well and where you able to fix it?
Hello MrFriday. I see that this is your first topic – welcome to the forums.
When putting code in your posts it is preferred that you insert it using the ‘Insert PRT Code’ button to make it more readable for others. I have tidied up your post for you but if you could use the ‘Insert PRT Code’ button in future posts it would be much appreciated 🙂
To help us continually offer you the best experience on ProRealCode, we use cookies. By clicking on "Continue" you are agreeing to our use of them. You can also check our "privacy policy" page for more information.Continue