I have noticed that changing datefield resolution only changes the display.
For instance if I change resolution to DAY, the actual value stored is date selected + current system time and the value returned by getValue() is upto the milisecond.
Is it possible to get only the date value without any time information from a datefield