Hi,
You can see the below snippet..
Hope it helps...
private void initDateFormat()
{
DateUtil.setShortDateDisplayFormatter(new DateDisplayFormatter() {
public String format(Date date) {
if(date == null) return null;
final DateTimeFormat dateFormatter =
DateTimeFormat.getFormat("dd/mm/yy HH:mm");
String format = dateFormatter.format(date);
return format;
}
});
}
Regards,
Shakun
On Wed, Aug 11, 2010 at 12:49 PM, Santosh kumar <[email protected]> wrote:
> Hi,
> After rpc cal i am getting the date from datastore which was stored in some
> of the kind,
> but i want to display that date in the format dd/mm/yy and the time also.
> Please can anyone help me to make over this task.
>
> --
> Thanks & Regards
>
> *S a n t o s h k u m a r . k*
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" 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/google-web-toolkit?hl=en.