Extract Date and Time from Text returning wrong output

Hello There,

I’m extracting date from a string using Extract Date and Time from Text activity but it’s giving me wrong values. What’s wrong?

Output is getting - 01/01/0001 00:00:00

I’m expecting - 2025-08-31

Appreciate your guidence.

@apaukarel,

It could be due to the Date and time format

Try passing it this way “yyyy-mm-dd”

Refer these formats the way it should be used

2 Likes

@apaukarel
I tried passing yyyy-mm-dd to the DateTime format, but I faced no output result.

So, I passed it through the Expression Editor, which worked and gave the correct result.

I recommend checking the forum link below for a clearer understanding of Date & Time formats.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.