Logic for programmed time relay

I need to make a programmable time relay. I made these blocks, where you can set a date and a time, but the logic is not working...

When I put to compare the value set with the current date and time, the program is not displaying anything on the screen with the "if/else"
It's looks like a alarm clock

image

Can anyone help me?

Could you please explain the text to the left of the equals In the clock timer?

The date and the hour actual

This is only a string, but not the current datetime... to get it use the clock component from the sensor drawer... especially take a look at the Now method and the FormatDateTime method
http://ai2.appinventor.mit.edu/reference/components/sensors.html#Clock

use Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools
Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.