First working version of timestamp comparing.  Still rough