29.03.2023, 20:18
I have this info from two group-adresses 3-byte time/day and three byte date
This is a date and time several days ahead for the start of a meeting
I want to calculate the number of minutes from "now" until the date/time in this two group-addresses, but I can't figure out how to do it...
This is a date and time several days ahead for the start of a meeting
I want to calculate the number of minutes from "now" until the date/time in this two group-addresses, but I can't figure out how to do it...
Code:
Event for CUE Starttid (0/1/20) 29.03.2023 21:54:04
* arg: 1
* string: startdate
* arg: 2
* table:
["day"]
* number: 2
["year"]
* number: 2023
["month"]
* number: 4
Event for CUE Starttid (0/1/20) 29.03.2023 21:54:04
* arg: 1
* string: starttime
* arg: 2
* table:
["day"]
* number: 7
["minute"]
* number: 0
["second"]
* number: 0
["hour"]
* number: 11
["min"]
* number: 0
["sec"]
* number: 0