1 Reply Latest reply on Jun 30, 2010 2:25 AM by $Nith$

    How to parse String to DateTime

    $Nith$ Level 4

      I have a string variable with the datetime value in the follo

      wing format:


      30-May-2010 11:30 AM


      There is a need to convert this string value into DateTime for some processing.


      I have used the following expression, which is failed to coerce:


      parse-dateTime-withFormat(/process_data/@KPIStartDateStr, "dd-MMM-yyyy hh:mm a")


      Any advise would be appreciated.