How to generate random dates in a specific range in JAVA? I have seen [How do I generate random integers within a specific range in Java?](https://stackoverflow.com/questions/363681/generating-random-integers-in-a-specific-range) link which is to generate random numbers.Is there similar/other kind of way to generate random date in JAVA?