DateField getting value <p>I have problem with getting value of <code>com.gwtext.client.widgets.form.DateField</code> component. I would like to parse date on the server side so I'm using method <code>getText()</code> instead of <code>getValue()</code>. Problem is that <code>DateField</code> component has format YYYY-MM-DD but if I print date value I get result "Thu Sep 17 2009 00:00:00 GMT+0200", so the format is different. I thought that only <code>getValueAsString()</code> result will be like that "Thu Sep 17 2009 00:00:00 GMT+0200", but <code>getText()</code> should return "2009-09-17" :(, but it doesn't. How can I get the value in the correct format?</p>