Hi all,
Can any one have any idea ,Please help me .
On Tue, Jun 30, 2009 at 6:43 PM, subbu <[email protected]> wrote:
>
> Hi,
> How can we use a gwt ext date field that shows date with time some
> thing like the following format.
>
> 2009-06-29 18:06:01
>
> This is the code that i have already using
>
> DateTimeFormat dateFormatter = DateTimeFormat.getFormat("Y-m-d
> H:m");
>
> final DateField dateTo = new DateField();
> dateTo.setAllowBlank(false);
> dateTo.setFormat(dateFormatter.getPattern());
> dateTo.setValue(new Date());
> dateTo.setWidth(125);
> While running this code i am getting the 2009-06-29 18:06,but while i
> changing the minute field to some number say its 25 .After that
> clicking on a button to refresh this date and set it in the session
> the enitre date field is showing wrong date some value like 2011-01-29
> 18:01
>
> With Thanks and Regards,
>
> Subash K S
> >
>
--
Subash K S
09961278524
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---