format and test the modify time