I'm not sure if this belongs in this forum or another but the problem is in a
servlet.
I'm trying to set a date and it keeps comming up null
currentDate = new Date();
dateSyntax = new SimpleDateFormat("s",Locale.getDefault());
dateSyntax.applyPattern("yyyy-MM-dd");
now = (long)System.currentTimeMillis();
currentDate.setTime(now);
clock = dateSyntax.format(currentDate);
currentDate.setTime(now) is where the problem is. now has a value.
Joyce