The log file looks like this 01/10/2012 14:46:02:87 Some Data 01/10/2012 14:46:03:319 Some Stuff 01/10/2012 14:46:04:160 OMFG 01/10/2012 14:46:04:160 okay I have the script to the point where it grabs all the logs, sorts through them and spits out the lines with the specified date/time into a separate file. What would be the best way to get the current time formatted per the log entries and collect a range of times say from current to 15 minutes previously. -- Posted via http://www.ruby-forum.com/.