While there are many ways to tackle this, one of the easiest ways (in my opinion) would be as you hinted, to use the Unix Epoch time which gives you a single comparable number for each of those dates.
You could then do a standard numerical test on the dates.
Scott A. Hammond, Sr., CEO
Prima Internet, Inc.