News:

  • September 04, 2026, 10:40:00 PM

Login with username, password and session length

Author Topic: Do-More Time as input  (Read 7914 times)

lasuca

  • Newbie
  • *
  • Posts: 2
Do-More Time as input
« 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.

BobO

  • Host Moderator
  • Hero Member
  • *****
  • Posts: 6175
  • Yes Pinky, Do-more will control the world!
Re: Do-More Time as input
« Reply #1 on: December 27, 2013, 09:41:12 PM »
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. ???
"It has recently come to our attention that users spend 95% of their time using 5% of the available features. That might be relevant." -BobO

lasuca

  • Newbie
  • *
  • Posts: 2
Re: Do-More Time as input
« Reply #2 on: December 28, 2013, 08:10:31 AM »
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