Fixed --random functionality for dates