0 Replies Latest reply on Jan 17, 2011 6:47 AM by Floh-VerbaVoice

    How to transfer string to date?

    Floh-VerbaVoice Level 1

      Hi, I have a string variable which contains date like "Jan 18, 2011". How can I convert from string to date in Workbench so I can pass it as parameter (type date needed)? I tried with parse-date(variable) but no success:

       

      Cannot coerce object: Jan 18, 2011 of type: java.lang.String to type: class java.util.Date

       

      What wrong here? How can I solve it?

       

      cu Floh