I basically want to say
if the date is unchanged run this alert
my date field is set up like this
StartDate = new DateField("Start Date ", DateField.DATE);
cal1 = Calendar.getInstance();
cal1.set(Calendar.YEAR, 2009);
cal1.set(Calendar.MONTH, 3);
cal1.set(Calendar.DAY_OF_MONTH, 1);
StartDate.setDate(cal1.getTime());
and i have this but i am not sure where to begin to make it right.
if(StartDate.equals(Calendar.DAY_OF_MONTH, 1))
{
AlertNameNotEntered.setString("Please select a Start Date");
mDisplay.setCurrent(AlertNameNotEntered);
}
Thanks