public static int getTimestampDaysAgo(int ts, int days) {
        return (ts - (days * 86400));
    }
@Test
    public void testGetTimestampDaysAgo() {
        assertEquals(1321890529, Tools.getTimestampDaysAgo(1322063329, 2));
    }