Host Engineering Forum
General Category => Do-more CPUs and Do-more Designer Software => Topic started by: lasuca on December 27, 2013, 03:53:51 PM
-
Can the Do-more use real time as an input? Example if real time=3:00 turn on c1. I have tried using the compare date/time block but it isn't what im looking for really i think it would be easier to just be able to input the time. I am still new to the Do-more any help would be appreciated.
-
Time is stored in Do-more in one of two ways 1) as a date/time structure and 2) as a 32 bit integer containing the number of seconds since Jan 1, 1970. If you have a structure, like $Now, you can access individual fields like $Now.Hour and $Now.Min in relational contacts to trigger an event when .Hour == 3 and .Min == 0. Not sure if that is answering your question though. ???
-
Yes, that did it. I was putting $now in and getting the real time but I did not see the option for .hour .minute.
Thank You