//ELAPSED TIME
im building a very huge script and i need this option for my voice system if its possible..
i have an script that gets the status of all my pir sensors .
but i want that it get the last change also , and that it speaks the last change ...
i already have it speaking the last change but it speaks wrong , it says 19 july 19:12:12 it says 19 days and 12 hours and 12 minutes...
i want that it speaks like if the last change is 10 july 14:40:32 and the time is now 14:50:32 he must speak 10 minutes and 32 seconds ago.
regards
im building a very huge script and i need this option for my voice system if its possible..
i have an script that gets the status of all my pir sensors .
but i want that it get the last change also , and that it speaks the last change ...
i already have it speaking the last change but it speaks wrong , it says 19 july 19:12:12 it says 19 days and 12 hours and 12 minutes...
i want that it speaks like if the last change is 10 july 14:40:32 and the time is now 14:50:32 he must speak 10 minutes and 32 seconds ago.
regards
Comment