Amit Dhingra schrieb: > I have sql date in the format "yyyy-MM-dd hh:mm:ss" > Please suggest the best method to convert it to java.util.Date format.
On the server: java.util.Timestamp t = java.util.Timestamp.valueOf(sqldatetext); On the client (untested): DateTimeFormat format = DateTimeFormat("yyyy-MM-dd HH:mm:ss"); Date date = format.parse(sqldatetext); Regards, Lothar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---