Formula function - get Quarter number for a year

Formula function - get Quarter number for a year

It will be nice that the "DateTime" function section has something like: Quarter(${Potential.Closing Date}) so can return 1,or 2, or 3, or 4, or empty.

In that way, I can create a report to see the quarterly sales information.