I think i have it. oddly just a matter of placement.
at the top i am defining the timestamp, so its called when the script starts. if its placed in the 'While true loop' so, when it's called from the button press it grabs the new time from each call rather than at the top of the script
cheers :-)
at the top i am defining the timestamp, so its called when the script starts. if its placed in the 'While true loop' so, when it's called from the button press it grabs the new time from each call rather than at the top of the script
cheers :-)