Share via

format date in derived column

arkiboys 9,711 Reputation points
2023-06-20T06:32:35.3566667+00:00

hello,

the column in dataflow shows as follows:

column1


30-Apr-22

31-Oct-22

...

Question

in derived column, how can I have a column which shows the dates as follows:

new_column


2022-04-30

2022-10-31

...

thank you

Azure Data Factory
Azure Data Factory

An Azure service for ingesting, preparing, and transforming data at scale.

0 comments No comments

Answer accepted by question author

ShaikMaheer-MSFT 38,631 Reputation points Microsoft Employee Moderator
2023-06-20T17:38:55.23+00:00

Hi arkiboys,

Thank you for posting query in Microsoft Q&A Platform.

use expressions as toDate(col1, "dd-MMM-yy"). Here col1 is your column which contains dates.

Hope this helps. Please let me know if any further queries.


Please consider hitting Accept Answer button. Accepted answers help community as well. Thank you.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.