Hi,
in my server side code I use this method to get a timestamp string:
private String getDateTimeStr (java.util.Date d)
{
DateFormat fmt = new SimpleDateFormat ("yyyy-MM-dd HH:mm:ss");
String t = fmt.format (d);
return (t);
}
On client side, these classes (Date, SimpleDateFormat) are not
available.
How can I retrieve the time values on client side?
Otherwise I had to make a RPC server call whenerver I need a
timestamp...
Thanks
Magnus
--
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.