Hi,

I am trying to convert a string to a Timestamp value in my Client side
code. It works fine in Hosted mode but the same code fails in Web
mode.

This is my code :
java.sql.Timestamp startTime = java.sql.Timestamp.valueOf(<timestamp
as string>);

Got this exception in web mode :

Exception occurred :
Invalid escape format: 2009-04-07 12:30:00.0


Can you please help me out in this and suggest a way to convert the
string to Timestamp so that it works both in Hosted mode and Web mode.
--~--~---------~--~----~------------~-------~--~----~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to