date compare sample