I am using DateField. Now i dont set the DateField, as a result, it initializes it to default value i.e 1-1-1970 and time as 00:00.
Now even after user enters the values in DateField control, when i do
"timeAndDateField.getDate().getTime()", a null pointer exception is thrown ??
Is it mandatory to set the datefield with some value ??