First implementation of timestamp checking.

Summary: Fix some logic

Test Plan: build, modify files, build again

Reviewers: adrienconrath

Subscribers: NicolasDP

Differential Revision: http://91.121.199.76/D19