Expression Binding to get Week of Year

I notice there is an expression binding to get the Quarter of the Year from a date but is there an equivalent expression to get the Week of the Year? I have this one to get the quarter and another one to get the year:

getQuarter({../DateTimePicker.props.value})

I assume a custom transform would work if not.

dateExtract({../DateTimePicker.props.value}, 'week')

May not be ISO, however.

This would give an ISO week of year

3 Likes

thank you, that's perfect