My application involves taking data continuously from a source and storing it in a string array with a timestamp. There is an external trigger that sends its own timestamp, I then pull out any data in the string array that has a timestamp matching (to the minute only) the timestamp from the trigger. What I would like to do is decrement the time stamp from the trigger so that I am searching my string array for timestamps that were generated one minute before my trigger. I need to do this because the data I am interested in was being generated during the minute prior to the trigger event. Any ideas on how I can decrement the time stamp that is sent with the trigger by one minute?
Cheers!