Try setting the time before you start rolling.

So: Calendar.getInstance() (don't use Gregorian directly)
and then rcal.setTime(date)



date will come from strDate:

So:

SimpleDateFormat sdf = new SimpleDataFormat("yyyyMMdd"); // this correct? yyyyMMdd? mm is minutes
Date date = sdf.parse(strDate);

Bayard
[email protected]
http://www.generationjava.com

Brainbench MVP for Java
http://www.brainbench.com