Replaced dates with longs