Calculate number of minutes until a future date/time - Printable Version +- Logic Machine Forum (https://forum.logicmachine.net) +-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1) +--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8) +--- Thread: Calculate number of minutes until a future date/time (/showthread.php?tid=4690) |
Calculate number of minutes until a future date/time - CarlS - 29.03.2023 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... Code: Event for CUE Starttid (0/1/20) 29.03.2023 21:54:04 RE: Calculate number of minutes until a future date/time - admin - 30.03.2023 Try this: Code: time = grp.getvalue('0/0/1') RE: Calculate number of minutes until a future date/time - CarlS - 30.03.2023 Magic Thank you very much. |