added time function
Merge pull request #1 from fox-squirrels-2013/spike_tom

added time function