Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

How to parse String to DateTime


Level 10

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.


1 Reply


Level 10

I searched the documentation. There is no way to convert a String datatype into DateTime datatype. Am I Correct?