Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
pmscorca
Helper IV
Helper IV

How extracting the year of a date in a data pipeline

Hi,

in a data pipeline I'd like to extract the year from a date (f.e. the actual date) and add a related custom column.

Looking the Azure Data Factory functions it seems that a such funtion doesn't exist.

Any suggests to me, please? Thanks

1 ACCEPTED SOLUTION
NandanHegde
Super User
Super User

please refer the below blog :

https://azurelib.com/datetime-conversions-in-azure-data-factory/

 

you can use formatdatetime as per 'yyyy'

View solution in original post

1 REPLY 1
NandanHegde
Super User
Super User

please refer the below blog :

https://azurelib.com/datetime-conversions-in-azure-data-factory/

 

you can use formatdatetime as per 'yyyy'

Helpful resources

Announcements
FabricCarousel_June2024

Fabric Monthly Update - June 2024

Check out the June 2024 Fabric update to learn about new features.

PBI_Carousel_NL_June

Fabric Community Update - June 2024

Get the latest Fabric updates from Build 2024, key Skills Challenge voucher deadlines, top blogs, forum posts, and product ideas.